PHP-MySQLi-Database-Class icon indicating copy to clipboard operation
PHP-MySQLi-Database-Class copied to clipboard

Fix getOne() return value

Open shimscharf opened this issue 6 years ago • 1 comments

getOne() return value should return boolean false if there is an error, or null if there is an empty recordset

shimscharf avatar Jun 26 '19 23:06 shimscharf

getOne() is still return object instead of null

you can print gettype on getOne, it's object, not null type

dzpt avatar Oct 03 '21 15:10 dzpt