mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-16 15:33:02 +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();
|
$submitData=array();
|
||||||
foreach($this -> attrs as $attr) {
|
foreach($this -> attrs as $attr) {
|
||||||
if(($attr -> isUpdate())&&($attr -> isValidate())) {
|
if(($attr -> isUpdate())&&($attr -> isValidate())) {
|
||||||
if($attr -> name == $this -> config['rdn']) {
|
if(($attr -> name == $this -> config['rdn'])&&(!$this -> isNew())) {
|
||||||
debug('Rename');
|
debug('Rename');
|
||||||
if (!$this -> beforeRename()) {
|
if (!$this -> beforeRename()) {
|
||||||
$GLOBALS['LSerror'] -> addErrorCode(36);
|
$GLOBALS['LSerror'] -> addErrorCode(36);
|
||||||
|
|
Loading…
Reference in a new issue