forked from extern/egroupware
If app is not found in get_rows, use the template
This commit is contained in:
parent
59964e7788
commit
56c7c34c19
@ -122,6 +122,10 @@ class etemplate_widget_nextmatch extends etemplate_widget
|
||||
$send_value = $value;
|
||||
|
||||
list($app) = explode('.',$value['get_rows']);
|
||||
if(!$GLOBALS['egw_info']['apps'][$app])
|
||||
{
|
||||
list($app) = explode('.',$this->attrs['template']);
|
||||
}
|
||||
|
||||
// Check for a favorite in URL
|
||||
if($_GET['favorite'] && $value['favorites'])
|
||||
|
Loading…
Reference in New Issue
Block a user