mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-10 10:26:58 +01:00
Return array on getCustomers when no records found
Needs further fix in DB class
This commit is contained in:
@@ -56,7 +56,7 @@ class SP_Customer {
|
||||
$queryRes = DB::getResults($query, __FUNCTION__, TRUE);
|
||||
|
||||
if ($queryRes === FALSE) {
|
||||
return FALSE;
|
||||
return array();
|
||||
}
|
||||
|
||||
if ($retAssocArray) {
|
||||
@@ -277,4 +277,4 @@ class SP_Customer {
|
||||
|
||||
return $queryRes->uses;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user