1
0
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:
Marc Alexander
2022-12-27 17:42:23 +01:00
parent 5756d4dd9b
commit eeeb69b4ae
5 changed files with 24 additions and 36 deletions

View File

@@ -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;
}