Code

Fixed problem with tagging
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 Jul 2006 12:36:31 +0000 (12:36 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 Jul 2006 12:36:31 +0000 (12:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4077 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_plugin.inc

index 819fd85e2e2b1f3d04688a407259bf3e85262ce7..3ebd529b95ce2d1bbddeb48fe9fdb8ae579d3335 100644 (file)
@@ -927,7 +927,7 @@ class plugin
           echo sprintf(_("Adding tag (%s) to object '%s'"), $tag, @LDAP::fix($dn))."<br>";
           flush();
         }
-        $nattrs= array("gosaUnitTag" => $this->gosaUnitTag);
+        $nattrs= array("gosaUnitTag" => $tag);
         $nattrs['objectClass']= array();
         for ($i= 0; $i<$attrs['objectClass']['count']; $i++){
           $oc= $attrs['objectClass'][$i];