forked from extern/egroupware
fixed handing of no result in link_query method of timesheet
This commit is contained in:
parent
171712fc46
commit
909d37d94a
@ -623,7 +623,7 @@ class botimesheet extends so_sql
|
||||
$result = array();
|
||||
foreach((array) $this->search($criteria,false,'','','%',false,'OR') as $ts )
|
||||
{
|
||||
$result[$ts['ts_id']] = $this->link_title($ts);
|
||||
if ($ts) $result[$ts['ts_id']] = $this->link_title($ts);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user