mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge pull request #5325 from hubaishan/ticket/15612
[ticket/15612] Fix PHP7.2 count() bug in MSSQL driver
This commit is contained in:
commit
b0d55a69c7
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ class mssqlnative extends \phpbb\db\driver\mssql_base
|
||||||
unset($row['line2'], $row['line3']);
|
unset($row['line2'], $row['line3']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return (count($row)) ? $row : false;
|
return ($row !== null) ? $row : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue