forked from extern/egroupware
Paul's fix for annoying link title error popping up
This commit is contained in:
parent
6f162f144e
commit
c4fc4699a4
@ -122,9 +122,16 @@ class etemplate_widget_link extends etemplate_widget
|
|||||||
{
|
{
|
||||||
$response = array();
|
$response = array();
|
||||||
foreach($app_ids as $app => $ids)
|
foreach($app_ids as $app => $ids)
|
||||||
|
{
|
||||||
|
if(count($ids))
|
||||||
{
|
{
|
||||||
$response[$app] = egw_link::titles($app, $ids);
|
$response[$app] = egw_link::titles($app, $ids);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
error_log("Got invalid title request: $app:" . array2string($ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
egw_json_response::get()->data($response);
|
egw_json_response::get()->data($response);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user