Code

Added debug handling for all gosa_si actions.
[gosa.git] / gosa-core / include / class_MultiSelectWindow.inc
index 41ec46c67d564715649e86b79d06d1c80cf25593..a98004cedfd15a298497412d85422d838906a140 100644 (file)
@@ -374,7 +374,7 @@ class MultiSelectWindow{
                $divlist->SetEntriesPerPage(0); // 0 for scrollable list
 
     /* Display list footer with summary of all listed entries */
-    if(isset($this->config->data['MAIN']['LIST_SUMMARY']) && preg_match("/true/i",$this->config->data['MAIN']['LIST_SUMMARY'])){
+    if ($this->config->get_cfg_value("listSummary") == "true"){
       $divlist->SetFooter($this->get_List_Bottom_Info());
     }
   
@@ -643,6 +643,9 @@ class MultiSelectWindow{
                                }
                        }
                }
+
+    /* Save currenlty selected base in session */
+    session::set("CurrentMainBase",$this->selectedBase);
        }