Code

Fixed problem with partitions that got not tagged correctly
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 Jan 2007 11:55:32 +0000 (11:55 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 Jan 2007 11:55:32 +0000 (11:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5515 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiPartitionTable.inc

index 96b4adc2201e1acf5a6b0ddc52b01fd1c30a531c..793475456e3892a6bcb29bda16c5ffcc6c689b43 100644 (file)
@@ -536,8 +536,8 @@ class faiPartitionTable extends plugin
           $ldap->add($partition_attrs);
           show_ldap_error($ldap->get_error(), _("Saving FAI partition table entry failed"));
         }
+        $this->handle_object_tagging($partition_dn, $this->gosaUnitTag);
       }
-      $this->handle_object_tagging($partition_dn, $this->gosaUnitTag);
     }
     $this->handle_post_events("add");
   }