1
0
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:
Marc Alexander
2023-12-30 17:41:12 +01:00
parent c6c299eea4
commit 661a8a6117
42 changed files with 107 additions and 80 deletions

View File

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