Skip to content

Commit

Permalink
Add a key to the insert because the code has a meltdown otherwise...
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldiesmann committed Jul 4, 2024
1 parent ff792fd commit f5c1854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Actions/Admin/Reactions.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public function editreactions(): void
$do_update = true;

// Insert the new reactions
Db::$db->insert('insert', '{db_pref}reactions', ['name'], $add, []);
Db::$db->insert('', '{db_pref}reactions', ['name'], $add, ['id_reaction']);
}
}

Expand Down

0 comments on commit f5c1854

Please sign in to comment.