Code

Updated management.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 4 Jan 2010 14:02:46 +0000 (14:02 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 4 Jan 2010 14:02:46 +0000 (14:02 +0000)
- Check if mutliple edit is available before we lock entries.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15000 594d385d-05f5-0310-b6e9-bd551577e9d8

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());
         }