Skip to content
New issue

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

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

Already on GitHub? # to your account

Using a column from the results as a key for the array when result is empty #67

Open
Balerka opened this issue Oct 26, 2023 · 0 comments

Comments

@Balerka
Copy link

Balerka commented Oct 26, 2023

Please fix error when result is empty, add check "empty($results)"

DBPDO.php line 93
// Allows the user to retrieve results using a
// column from the results as a key for the array
if($key != null && !empty($results) && $results[0][$key]){

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

No branches or pull requests

1 participant