Code

Added re-assignement for baseobject
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Jun 2006 08:28:26 +0000 (08:28 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Jun 2006 08:28:26 +0000 (08:28 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@3869 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/departments/tabs_department.inc

index f5d771bde0170033e5bdfba5a331a79edfe40024..285b93a7940589aeb9cc7a6396727a5680f221e9 100644 (file)
@@ -32,11 +32,14 @@ class deptabs extends tabs
         }else{
           /* Prepare to be moved */
           $baseobject->recursive_move($this->dn, $new_dn);                     
+          $this->by_object['department'] = $baseobject;
           return;
         }
       }
     }
     $this->dn= $new_dn;
+    $baseobject->dn= $this->dn;
+    $this->by_object['department']= $baseobject;
     return(tabs::save(TRUE));
   }