Code

Updated management.
[gosa.git] / gosa-core / include / class_management.inc
index cab74fcb70338e86f5b6d9a5478726148d411e91..81a798b5876e808fb4728848a4f9d7c178c33136 100644 (file)
@@ -663,8 +663,8 @@ class management
         @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__,$this->dns,"Edit entry initiated!");
 
         // Now lock entries.
-        $tmp->lock_entries($this->ui->dn);
         if($tmp->multiple_available()){
+          $tmp->lock_entries($this->ui->dn);
           $this->tabObject = $tmp;
           set_object_info($this->tabObject->get_object_info());
         }