Code

Fixed tagging
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 11:52:24 +0000 (11:52 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 11:52:24 +0000 (11:52 +0000)
-Frame is displayed again, but somehow it does not what it should

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

gosa-core/plugins/admin/departments/class_departmentGeneric.inc
gosa-core/plugins/admin/departments/class_departmentManagement.inc

index cf204b3d9fface4c9886c41fcea321e82cbb095d..142ebdd5e1fa57cf804c6130e5c879856872418e 100644 (file)
@@ -196,7 +196,6 @@ class department extends plugin
 
        function must_be_tagged()
        {
-echo 3;
                return $this->must_be_tagged;
        }
 
@@ -450,9 +449,7 @@ echo 3;
 
            /* Fix entry if needed */
            if ($fix){
-echo "1";
                    if($OnlySetTagFlag){
-echo "2";
                            $this->must_be_tagged =true;
                            return;
                    }
index ecf1e0989dcbaf098d3717c179d89273b216e87b..dc4b55e135080c1d7615fa90a43eef0b8f489c23 100644 (file)
@@ -302,6 +302,7 @@ class departmentManagement extends plugin
         $this->config = $config;
 
         /* This object must be tagged, so set ObjectTaggingRequested to true */
+        $this->deptabs->by_object['department']->tag_objects(TRUE);
         if($this->deptabs->by_object['department']->must_be_tagged()){
           $this->ObjectTaggingRequested   = true; 
         }