mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
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