mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +01:00
- LSldapObject : Correction d'un bug dans l'interprétation d'un rename
This commit is contained in:
parent
c17f9224fa
commit
45856aca50
1 changed files with 1 additions and 1 deletions
|
@ -513,7 +513,7 @@ class LSldapObject {
|
|||
$submitData=array();
|
||||
foreach($this -> attrs as $attr) {
|
||||
if(($attr -> isUpdate())&&($attr -> isValidate())) {
|
||||
if($attr -> name == $this -> config['rdn']) {
|
||||
if(($attr -> name == $this -> config['rdn'])&&(!$this -> isNew())) {
|
||||
debug('Rename');
|
||||
if (!$this -> beforeRename()) {
|
||||
$GLOBALS['LSerror'] -> addErrorCode(36);
|
||||
|
|
Loading…
Reference in a new issue