diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index 629c025aa5..b0ad70366e 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -2847,7 +2847,7 @@ function get_database_size() $database_size = 0; $sql = 'SHOW TABLE STATUS - FROM ' . $db_name; + FROM ' . $db->sql_quote($db_name); $result = $db->sql_query($sql, 7200); while ($row = $db->sql_fetchrow($result))