From: hickert Date: Thu, 11 May 2006 04:35:35 +0000 (+0000) Subject: Back button wasn't working anymore after moving deparment get/ post handling into... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5e3175d66e7c5330d3e96fb592536d56a526f1dd;p=gosa.git Back button wasn't working anymore after moving deparment get/ post handling into Multiselect git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3272 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_MultiSelectWindow.inc b/include/class_MultiSelectWindow.inc index 11c86d7c0..9a5c862ff 100644 --- a/include/class_MultiSelectWindow.inc +++ b/include/class_MultiSelectWindow.inc @@ -359,7 +359,7 @@ class MultiSelectWindow{ /* If Back-button is pressed, move back one step in DN */ - if($s_action == "back"){ + if($s_action=="back"){ //FIXME: This is not 100% correct. We'll only display ou's, but there may be // a step between. You'll stumble in a "hidden" department in this case. $base_back= preg_replace("/^[^,]+,/", "", $_SESSION['CurrentMainBase']); @@ -370,9 +370,9 @@ class MultiSelectWindow{ /* Check if the department exists, otherwise revert to the configure base DN */ if(isset($this->config->departments[$base_back])){ - $_SESSION['CurrentMainBase']= $this->config->departments[$base_back]; + $this->selectedBase= $this->config->departments[$base_back]; }else{ - $_SESSION['CurrentMainBase']= $this->config->departments['/']; + $this->selectedBase= $this->config->departments['/']; } } }