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:
@@ -137,7 +137,7 @@ class phpbb_db_sql_insert_buffer
|
||||
$result |= $this->insert($row);
|
||||
}
|
||||
|
||||
return $result;
|
||||
return (bool) $result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user