mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
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