mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
problems with case handling #36725
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9063 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2e2ec887d7
commit
9d4e7aeab1
1 changed files with 3 additions and 3 deletions
|
@ -2176,10 +2176,10 @@ parse_css_file = {PARSE_CSS_FILE}
|
||||||
$style_default = request_var('style_default', 0);
|
$style_default = request_var('style_default', 0);
|
||||||
$store_db = request_var('store_db', 0);
|
$store_db = request_var('store_db', 0);
|
||||||
|
|
||||||
$sql = "SELECT {$mode}_id
|
$sql = "SELECT {$mode}_id, {$mode}_name
|
||||||
FROM $sql_from
|
FROM $sql_from
|
||||||
WHERE {$mode}_id <> $style_id
|
WHERE {$mode}_id <> $style_id
|
||||||
AND {$mode}_name = '" . $db->sql_escape(strtolower($name)) . "'";
|
AND LOWER({$mode}_name) = '" . $db->sql_escape(strtolower($name)) . "'";
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
$conflict = $db->sql_fetchrow($result);
|
$conflict = $db->sql_fetchrow($result);
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
@ -3206,7 +3206,7 @@ parse_css_file = {PARSE_CSS_FILE}
|
||||||
{
|
{
|
||||||
$sql = "SELECT {$mode}_id, {$mode}_name, {$mode}_path, {$mode}_storedb
|
$sql = "SELECT {$mode}_id, {$mode}_name, {$mode}_path, {$mode}_storedb
|
||||||
FROM $sql_from
|
FROM $sql_from
|
||||||
WHERE {$mode}_name = '" . $db->sql_escape(strtolower($cfg_data['inherit_from'])) . "'
|
WHERE {$mode}_name = '" . $db->sql_escape($cfg_data['inherit_from']) . "'
|
||||||
AND {$mode}_inherits_id = 0";
|
AND {$mode}_inherits_id = 0";
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
$row = $db->sql_fetchrow($result);
|
$row = $db->sql_fetchrow($result);
|
||||||
|
|
Loading…
Add table
Reference in a new issue