Skip to content

Commit

Permalink
Merge pull request #112 from Setlakwe/dev
Browse files Browse the repository at this point in the history
[-] BO : Fix uninstall when DB_PREFIX is empty
  • Loading branch information
sowbiba authored Oct 9, 2023
2 parents 309e9d9 + 159c69d commit dc5415a
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 @@ -105,7 +105,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 dc5415a

Please sign in to comment.