diff --git a/etemplate/inc/class.etemplate.inc.php b/etemplate/inc/class.etemplate.inc.php index 40acdbe4ef..f1c55b9583 100644 --- a/etemplate/inc/class.etemplate.inc.php +++ b/etemplate/inc/class.etemplate.inc.php @@ -318,7 +318,7 @@ class etemplate extends boetemplate '."\n"; @@ -1135,7 +1135,7 @@ class etemplate extends boetemplate } if (!$ext_type) $ext_type = $type; // if readonlys[__ALL__] is set, also set readonlys[$name] (extensions can mark themselfs as 'noReadonlysALL', eg. tab-widget!) - if ($readonlys['__ALL__'] && !$this->haveExtension($type,'noReadonlysALL')) + if ($readonlys['__ALL__'] && $readonlys[$name] !== false && !$this->haveExtension($type,'noReadonlysALL')) { $readonlys[$name] = true; }