mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
These ones probably work ...
git-svn-id: file:///svn/phpbb/trunk@2987 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -234,7 +234,7 @@ class sql_db
|
||||
}
|
||||
}
|
||||
|
||||
$query = $query . ' (' . implode(', ', $fields) . ') VALUES (' . implode(', ', $values) . ')';
|
||||
$query = ' (' . implode(', ', $fields) . ') VALUES (' . implode(', ', $values) . ')';
|
||||
}
|
||||
else if ($query == 'UPDATE')
|
||||
{
|
||||
@@ -254,9 +254,10 @@ class sql_db
|
||||
$values[] = (is_bool($var)) ? "$key = " . intval($var) : "$key = $var";
|
||||
}
|
||||
}
|
||||
$query = implode(', ', $values);
|
||||
}
|
||||
|
||||
return implode(', ', $values);
|
||||
return $query;
|
||||
}
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user