From 7d35b9cb5913b09bb3e38dbc6c811c646fb8badd Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Mon, 12 Feb 2018 14:57:11 +0100 Subject: [PATCH] fixing db_del bug, thanks @Petit42 --- bureau/class/m_mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bureau/class/m_mysql.php b/bureau/class/m_mysql.php index ba730f23..d17952c3 100644 --- a/bureau/class/m_mysql.php +++ b/bureau/class/m_mysql.php @@ -319,7 +319,7 @@ class m_mysql { } // Ok, database exists and dbname is compliant. Let's proceed - $db->query("DELETE FROM size_db WHERE db ?;", array($dbname)); + $db->query("DELETE FROM size_db WHERE db= ?;", array($dbname)); $db->query("DELETE FROM db WHERE uid= ? AND db= ? ;", array($cuid, $dbname)); $this->dbus->query("DROP DATABASE $dbname;");