diff options
-rw-r--r-- | lib/Categories/Database.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Categories/Database.php b/lib/Categories/Database.php index 017f7e8..959bbdb 100644 --- a/lib/Categories/Database.php +++ b/lib/Categories/Database.php @@ -122,7 +122,7 @@ class Database implements ICategory { switch ($this->config->getSystemValue('dbtype')) { case 'mysql': $db_name = $this->config->getSystemValue('dbname'); - $sql = 'SHOW TABLE STATUS FROM ' . $db_name; + $sql = 'SHOW TABLE STATUS FROM `' . $db_name . '`'; $result = $this->connection->executeQuery($sql); $database_size = 0; while ($row = $result->fetch()) { |