1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

Merge pull request #6579 from marc1706/ticket/17281

[ticket/17281] Update to psalm 5.x
This commit is contained in:
Marc Alexander
2024-01-31 21:14:15 +01:00
committed by GitHub
42 changed files with 280 additions and 239 deletions

View File

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