Skip to content

Commit

Permalink
[-] BO : Fix uninstall when DB_PREFIX is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Setlakwe committed Jan 3, 2023
1 parent 1043532 commit 159c69d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gamification.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function uninstallDb()
{
$sql = include __DIR__ . '/sql_install.php';
foreach ($sql as $name => $v) {
Db::getInstance()->execute('DROP TABLE ' . $name);
Db::getInstance()->execute('DROP TABLE `' . $name . '`');
}

return true;
Expand Down

0 comments on commit 159c69d

Please sign in to comment.