forked from extern/egroupware
fix "Got invalid title request, by NOT sending empty requests" warnings
This commit is contained in:
parent
ece1062b8b
commit
24e3fb2e63
@ -129,7 +129,7 @@ class etemplate_widget_link extends etemplate_widget
|
||||
}
|
||||
else
|
||||
{
|
||||
error_log("Got invalid title request: $app:" . array2string($ids));
|
||||
error_log(__METHOD__."(".array2string($app_ids).") got invalid title request: app=$app, ids=" . array2string($ids));
|
||||
}
|
||||
}
|
||||
egw_json_response::get()->data($response);
|
||||
|
@ -376,12 +376,12 @@ egw.extend('links', egw.MODULE_GLOBAL, function() {
|
||||
// add all current title-requests
|
||||
for(var app in title_queue)
|
||||
{
|
||||
if (typeof _params[0][app] == 'undefined')
|
||||
{
|
||||
_params[0][app] = [];
|
||||
}
|
||||
for(var id in title_queue[app])
|
||||
{
|
||||
if (typeof _params[0][app] == 'undefined')
|
||||
{
|
||||
_params[0][app] = [];
|
||||
}
|
||||
_params[0][app].push(id);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user