mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 20:51:23 +01:00
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