mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
[ticket/10995] Return false in mssqlnative sql_fetchrow on empty result
PHPBB3-10995
This commit is contained in:
parent
3a70bc2c75
commit
ae07e80a65
@ -436,7 +436,7 @@ class dbal_mssqlnative extends dbal
|
||||
unset($row['line2'], $row['line3']);
|
||||
}
|
||||
}
|
||||
return $row;
|
||||
return (sizeof($row)) ? $row : false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user