[ticket/10463] removed extra comma in malformed query in acp_styles.php

PHPBB3-10463
This commit is contained in:
David King 2011-12-15 13:22:04 +00:00
parent 72eb1ad8cc
commit a3e8d3b00b

View file

@ -2400,7 +2400,7 @@ version = {VERSION}
$select_bf = '';
}
$sql = "SELECT {$mode}_id, {$mode}_name, {$mode}_path, $select_bf
$sql = "SELECT {$mode}_id, {$mode}_name, {$mode}_path $select_bf
FROM $sql_from
WHERE {$mode}_name = '" . $db->sql_escape($cfg_data['inherit_from']) . "'
AND {$mode}_inherits_id = 0";