Skip to content

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

Open
@Balerka

Description

@Balerka

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]){

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions