mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-03 14:17:56 +02:00
oops, it appears I missed most of the changes in mysql.php ...
git-svn-id: file:///svn/phpbb/trunk@3872 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
cc1a5f899d
commit
2e36408fab
@ -141,7 +141,7 @@ class sql_db
|
||||
$curtime = $curtime[0] + $curtime[1] - $starttime;
|
||||
}
|
||||
|
||||
if (!$this->query_result = @mysql_query($query, $this->db_connect_id))
|
||||
if (!($this->query_result = @mysql_query($query, $this->db_connect_id)))
|
||||
{
|
||||
$this->sql_error($query);
|
||||
}
|
||||
@ -214,7 +214,6 @@ class sql_db
|
||||
if ($query != '')
|
||||
{
|
||||
$this->query_result = false;
|
||||
$this->num_queries++;
|
||||
|
||||
// if $total is set to 0 we do not want to limit the number of rows
|
||||
if ($total == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user