mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11469] Cast $result to boolean in insert_all()
|= returns integer values PHPBB3-11469
This commit is contained in:
parent
69ad4aab78
commit
c9f059c4f2
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ class phpbb_db_sql_insert_buffer
|
|||
$result |= $this->insert($row);
|
||||
}
|
||||
|
||||
return $result;
|
||||
return (bool) $result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue