mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-29 11:10:18 +02:00
tried to begin adjusting all string functions where applicable - still a *lot* to do.
i hope i catched all relevant sections and did not mess something up. git-svn-id: file:///svn/phpbb/trunk@6452 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -65,7 +65,7 @@ class acp_reasons
|
||||
{
|
||||
$reason_row['reason_title'] = 'other';
|
||||
}
|
||||
else if (strtolower($row['reason_title']) != strtolower($reason_row['reason_title']))
|
||||
else if (utf8_strtolower($row['reason_title']) != utf8_strtolower($reason_row['reason_title']))
|
||||
{
|
||||
$check_double = true;
|
||||
}
|
||||
@@ -76,7 +76,7 @@ class acp_reasons
|
||||
{
|
||||
$sql = 'SELECT reason_id
|
||||
FROM ' . REPORTS_REASONS_TABLE . "
|
||||
WHERE LOWER(reason_title) = '" . strtolower($db->sql_escape($reason_row['reason_title'])) . "'";
|
||||
WHERE LOWER(reason_title) = '" . $db->sql_escape(utf8_strtolower($reason_row['reason_title'])) . "'";
|
||||
$result = $db->sql_query($sql);
|
||||
$row = $db->sql_fetchrow($result);
|
||||
$db->sql_freeresult($result);
|
||||
|
Reference in New Issue
Block a user