forked from extern/egroupware
Keep the returned readonly value from the extension
This commit is contained in:
parent
e4c29d36fc
commit
c1e89c5f0a
@ -1006,6 +1006,7 @@ class etemplate extends boetemplate
|
|||||||
if (!$ext_type) $ext_type = $type;
|
if (!$ext_type) $ext_type = $type;
|
||||||
$extension_readonly = $readonlys[$name] || $readonlys['__ALL__'];
|
$extension_readonly = $readonlys[$name] || $readonlys['__ALL__'];
|
||||||
$extra_label = $this->extensionPreProcess($type,$form_name,$value,$cell,$extension_readonly);
|
$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
|
$readonly = $cell['readonly'] !== false && ($readonly || $cell['readonly']); // might be set or unset (===false) by extension
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user