mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
If app is not found in get_rows, use the template
This commit is contained in:
parent
dcc69abf9b
commit
ed97ead93e
@ -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