mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/16955] Clean up auth classes
PHPBB3-16955
This commit is contained in:
@@ -571,7 +571,7 @@ abstract class driver implements driver_interface
|
||||
*/
|
||||
function sql_build_array($query, $assoc_ary = [])
|
||||
{
|
||||
if (!count($assoc_ary))
|
||||
if (!is_array($assoc_ary) || !count($assoc_ary))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user