mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +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