From d4a01c41f30b9d8e7e2f284ebf9e8bbbe8c19d12 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 17 Nov 2008 10:41:33 +0000 Subject: [PATCH] "fix not working nextmatch widget in tracker, readonly detection was uncomplete ($readonlys can be an array!)" --- etemplate/inc/class.boetemplate.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.boetemplate.inc.php b/etemplate/inc/class.boetemplate.inc.php index 8c0869d042..b342a2e4de 100644 --- a/etemplate/inc/class.boetemplate.inc.php +++ b/etemplate/inc/class.boetemplate.inc.php @@ -522,7 +522,7 @@ class boetemplate extends soetemplate } // only supply extension data for non-readonly widgets or if it's already set // otherwise lists store >10k unnecessary data in each etemplate-session - if (!($cell['readonly'] || $readonlys) || isset($GLOBALS['egw_info']['etemplate']['extension_data'][$name])) + if (!($cell['readonly'] || $readonlys && !is_array($readonlys)) || isset($GLOBALS['egw_info']['etemplate']['extension_data'][$name])) { $extension_data =& $GLOBALS['egw_info']['etemplate']['extension_data'][$name]; }