From f9e3fc5aecf87c0a5e098691d8588fbc66762dc2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 27 Mar 2012 14:02:34 +0000 Subject: [PATCH] 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 --- etemplate/inc/class.etemplate_widget_nextmatch.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/etemplate/inc/class.etemplate_widget_nextmatch.inc.php b/etemplate/inc/class.etemplate_widget_nextmatch.inc.php index 974cfb0744..8305612e47 100644 --- a/etemplate/inc/class.etemplate_widget_nextmatch.inc.php +++ b/etemplate/inc/class.etemplate_widget_nextmatch.inc.php @@ -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']);