mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
need to init action_links, as they are stored from previous requests and used in egw_actions to detect we are on first level of menu
This commit is contained in:
parent
f5c5ef9c29
commit
f9e3fc5aec
@ -130,6 +130,7 @@ class etemplate_widget_nextmatch extends etemplate_widget
|
||||
// set up actions, but only if they are defined AND not already set up (run throught self::egw_actions())
|
||||
if (isset($value['actions']) && !isset($value['actions'][0]))
|
||||
{
|
||||
$value['action_links'] = array();
|
||||
$template_name = isset($value['template']) ? $value['template'] : $this->attrs['options'];
|
||||
if (!is_array($value['action_links'])) $value['action_links'] = array();
|
||||
$value['actions'] = self::egw_actions($value['actions'], $template_name, '', $value['action_links']);
|
||||
|
Loading…
Reference in New Issue
Block a user