From: cajus Date: Mon, 10 Jul 2006 12:35:50 +0000 (+0000) Subject: Fixed problem with tagging X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=78943c16d24c5c7ab92e5d9eddb560b9ce422a89;p=gosa.git Fixed problem with tagging git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4076 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_plugin.inc b/include/class_plugin.inc index 419446592..469c3faef 100644 --- a/include/class_plugin.inc +++ b/include/class_plugin.inc @@ -932,7 +932,7 @@ class plugin echo sprintf(_("Adding tag (%s) to object '%s'"), $tag, @LDAP::fix($dn))."
"; 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]; diff --git a/include/functions.inc b/include/functions.inc index 46a0e53e9..e45807dc4 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -1118,6 +1118,7 @@ function gen_locked_message($user, $dn) $remove= false; + /* Save variables from LOCK_VARS_TO_USE in session - for further editing */ if((isset($_SESSION['LOCK_VARS_TO_USE']))&&(count($_SESSION['LOCK_VARS_TO_USE']))){ $_SESSION['LOCK_VARS_USED'] =array(); foreach($_SESSION['LOCK_VARS_TO_USE'] as $name){