Code

Fixed some typos
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 5 Jan 2006 11:52:43 +0000 (11:52 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 5 Jan 2006 11:52:43 +0000 (11:52 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2414 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupApplication.inc

index cffa3ba86785e6a0f62c66721d42f78166daba8e..9fbba6494df494ff352e4b0796cab11345a9c3f0 100644 (file)
@@ -273,8 +273,7 @@ class appgroup extends plugin
        plugin::execute();
 
     if((isset($_GET['act']))&&($_GET['act']=="depopen")){
-      print $_GET['id'];
-      $dep = base64_decode($_GET['id']);  
+      $dep = base64_decode($_GET['depid']);  
       if(isset($this->config->idepartments[$dep])){
         $this->curbase =$dep;
       }
@@ -378,8 +377,8 @@ class appgroup extends plugin
           }
         }
       }
-      $only_once = true; 
-      if((preg_match("/EdiApp_/",$name))&&($only_once)){
+      
+      if((preg_match("/EdiApp_/",$name))&&(!$only_once)){
 
         $only_once = false;
         $appname = $value;