"fix not working nextmatch widget in tracker, readonly detection was uncomplete ($readonlys can be an array!)"

This commit is contained in:
Ralf Becker 2008-11-17 10:41:33 +00:00
parent 04c7f2a6cb
commit d4a01c41f3

View File

@ -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];
}