mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
New smilies admin, a bug fixed in mysql.php and a left join removed from admin_forums.php
git-svn-id: file:///svn/phpbb/trunk@2891 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -186,7 +186,7 @@ class sql_db
|
||||
}
|
||||
elseif (is_string($var))
|
||||
{
|
||||
$values[] = str_replace("'", "''", $var);
|
||||
$values[] = "'" . str_replace("'", "''", $var) . "'";
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -201,7 +201,7 @@ class sql_db
|
||||
$values = array();
|
||||
foreach ($assoc_ary as $key => $var)
|
||||
{
|
||||
if (is_null($var)
|
||||
if (is_null($var))
|
||||
{
|
||||
$values[] = "$key = NULL";
|
||||
}
|
||||
|
Reference in New Issue
Block a user