diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index 9fcd6b30db..42b360b17a 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))