1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/11469] Cast $result to boolean in insert_all()

|= returns integer values

PHPBB3-11469
This commit is contained in:
Joas Schilling
2013-03-27 20:55:48 +01:00
parent 69ad4aab78
commit c9f059c4f2

View File

@@ -137,7 +137,7 @@ class phpbb_db_sql_insert_buffer
$result |= $this->insert($row);
}
return $result;
return (bool) $result;
}
/**