mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
LSattribute::addToForm(): fix freezing
This commit is contained in:
parent
25f2ccd32e
commit
29966b75ae
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ class LSattribute extends LSlog_staticLoggerClass {
|
|||
if($this -> getConfig('required', false, 'bool'))
|
||||
$form -> setRequired($this -> name);
|
||||
|
||||
if ( ($form_mode === false) || ($myRights != 'w') ) {
|
||||
if ( !$form_mode || ($myRights != 'w') ) {
|
||||
self :: log_debug("Attribute ".$this -> name." is freeze in form $idForm.");
|
||||
$element -> freeze();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue