fixed handing of no result in link_query method of timesheet

This commit is contained in:
Ralf Becker 2007-04-17 13:33:23 +00:00
parent 171712fc46
commit 909d37d94a

View File

@ -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;
}