1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-20 07:30:16 +01:00

Merge pull request from hubaishan/ticket/15612

[ticket/15612] Fix PHP7.2 count() bug in MSSQL driver
This commit is contained in:
Marc Alexander 2018-09-15 17:22:37 +02:00
commit b0d55a69c7
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

@ -268,7 +268,7 @@ class mssqlnative extends \phpbb\db\driver\mssql_base
unset($row['line2'], $row['line3']);
}
}
return (count($row)) ? $row : false;
return ($row !== null) ? $row : false;
}
/**