1
0
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:
Ludovic Arnaud
2002-09-18 04:38:17 +00:00
parent 66e0b32220
commit 13307c1360
8 changed files with 376 additions and 429 deletions

View File

@@ -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";
}