mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Paul's fix for annoying link title error popping up
This commit is contained in:
parent
6f162f144e
commit
c4fc4699a4
@ -123,7 +123,14 @@ class etemplate_widget_link extends etemplate_widget
|
||||
$response = array();
|
||||
foreach($app_ids as $app => $ids)
|
||||
{
|
||||
$response[$app] = egw_link::titles($app, $ids);
|
||||
if(count($ids))
|
||||
{
|
||||
$response[$app] = egw_link::titles($app, $ids);
|
||||
}
|
||||
else
|
||||
{
|
||||
error_log("Got invalid title request: $app:" . array2string($ids));
|
||||
}
|
||||
}
|
||||
egw_json_response::get()->data($response);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user