From c1e89c5f0ab7fe512828da1cb3553812ff74e368 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Fri, 19 Sep 2008 13:35:29 +0000 Subject: [PATCH] Keep the returned readonly value from the extension --- etemplate/inc/class.uietemplate.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/etemplate/inc/class.uietemplate.inc.php b/etemplate/inc/class.uietemplate.inc.php index 9048a9836d..20c2a81033 100644 --- a/etemplate/inc/class.uietemplate.inc.php +++ b/etemplate/inc/class.uietemplate.inc.php @@ -1006,6 +1006,7 @@ class etemplate extends boetemplate if (!$ext_type) $ext_type = $type; $extension_readonly = $readonlys[$name] || $readonlys['__ALL__']; $extra_label = $this->extensionPreProcess($type,$form_name,$value,$cell,$extension_readonly); + $readonlys[$name] =& $extension_readonly; $readonly = $cell['readonly'] !== false && ($readonly || $cell['readonly']); // might be set or unset (===false) by extension