e-sites / php-mysql-mysqli-wrapper

MIT License
99 stars 40 forks source link

mysql_fetch_array result incorrect result #16

Open dakusan opened 2 years ago

dakusan commented 2 years ago

mysqli_fetch_array returns NULL when there are no more results, but mysql_fetch_array returned FALSE. To fix, change line 249 from return mysqli_fetch_array($result, $result_type); to return mysqli_fetch_array($result, $result_type) ?? FALSE;