Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql_fetch_array result incorrect result #16

Open
dakusan opened this issue Dec 19, 2021 · 0 comments
Open

mysql_fetch_array result incorrect result #16

dakusan opened this issue Dec 19, 2021 · 0 comments

Comments

@dakusan
Copy link

dakusan commented Dec 19, 2021

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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant