mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/17281] Update psalm config and fix issues
PHPBB3-17281
This commit is contained in:
@@ -279,7 +279,7 @@ class mssql_odbc extends \phpbb\db\driver\mssql_base
|
||||
{
|
||||
$id = odbc_result($result_id, 1);
|
||||
odbc_free_result($result_id);
|
||||
return $id;
|
||||
return $id ? (int) $id : false;
|
||||
}
|
||||
odbc_free_result($result_id);
|
||||
}
|
||||
|
Reference in New Issue
Block a user