mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
Preimplementation of smilies order, "smilies" changed into "emoticons" as per Bart comment and sql_query_array() fixed to allow FALSE values
git-svn-id: file:///svn/phpbb/trunk@2893 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -190,7 +190,7 @@ class sql_db
|
||||
}
|
||||
else
|
||||
{
|
||||
$values[] = $var;
|
||||
$values[] = (is_bool($var)) ? intval($var) : $var;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -211,7 +211,7 @@ class sql_db
|
||||
}
|
||||
else
|
||||
{
|
||||
$values[] = "$key = $var";
|
||||
$values[] = (is_bool($var)) ? "$key = " . intval($var) : "$key = $var";
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user