mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:44 +01:00
Do not return null for return_array function as expected to return always an array
This commit is contained in:
parent
9319954d39
commit
08729a9df8
@ -288,7 +288,7 @@ class categories
|
||||
if (!($this->total_records = count($cats)))
|
||||
{
|
||||
//error_log(__METHOD__."($type,$start,$limit,$query,$sort,$order,$globals,parent=$parent_id,$lastmod,$column) account_id=$this->account_id, appname=$this->app_name = FALSE");
|
||||
return false;
|
||||
return array();
|
||||
}
|
||||
if (!$sort) $sort = 'ASC';
|
||||
// order the entries if necessary (cache is already ordered in or default order: cat_main, cat_level, cat_name ASC)
|
||||
|
Loading…
Reference in New Issue
Block a user