diff --git a/plugins/admin/groups/class_groupApplication.inc b/plugins/admin/groups/class_groupApplication.inc
index cffa3ba86785e6a0f62c66721d42f78166daba8e..c899f0bff70e22847d848ea9c76660fc57f26132 100644 (file)
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;
}
}
}
}
- $only_once = true;
- if((preg_match("/EdiApp_/",$name))&&($only_once)){
+
+ if((preg_match("/EdiApp_/",$name))&&(!$only_once)){
- $only_once = false;
+ $only_once = true;
$appname = $value;
$appname = preg_replace("/EdiApp_/","",$name);
$appname = preg_replace("/_.*$/","",$appname);
for($i = 0 ; $i < ($cnt -1 ) ; $i++){
$bbk .= $tmp[$i];
}
- $div2 ->AddEntry(array(array("string"=>sprintf($linkopen,$bbk,"..")),array("string"=>" ","attach"=>"style='border-right:0px;'")));
+ $div2 ->AddEntry(array(array("string"=>sprintf($linkopen,base64_encode($bbk),"..")),array("string"=>" ","attach"=>"style='border-right:0px;'")));
}
$this->GetSubdirs($this->curCatDir);