fix ID for deleting Achievements
This commit is contained in:
parent
331cb22caf
commit
f19a337efa
1 changed files with 1 additions and 1 deletions
|
@ -1379,7 +1379,7 @@
|
|||
$this->db->setAutocommit(false);
|
||||
try {
|
||||
// Delete Achievement
|
||||
$this->db->query('DELETE FROM achievements WHERE id = ?', 'i', $achievementId);
|
||||
$this->db->query('DELETE FROM achievements WHERE id = ?', 'i', $achievement['id']);
|
||||
|
||||
// Adjust positions
|
||||
$this->db->query(
|
||||
|
|
Loading…
Add table
Reference in a new issue