From: cajus Date: Tue, 16 Mar 2010 12:30:05 +0000 (+0000) Subject: Fixed field naming X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cfddd912c0b9af530fbac827c9b2714e884a0e2d;p=gosa.git Fixed field naming git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16624 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_filter.inc b/gosa-core/include/class_filter.inc index cc538d9b4..606979b6c 100644 --- a/gosa-core/include/class_filter.inc +++ b/gosa-core/include/class_filter.inc @@ -290,14 +290,14 @@ class filter { } // Save scope if needed - if ($this->scopeMode == "auto" && isset($_POST['act']) && $_POST['act'] == "toggle-subtree") { + if ($this->scopeMode == "auto" && isset($_POST['filter']) && $_POST['filter'] == "toggle-subtree") { $this->scope= ($this->scope == "one")?"sub":"one"; } // Switch filter? - if (isset($_POST['act'])) { + if (isset($_POST['filter'])) { foreach ($this->searches as $tag => $cfg) { - if ($_POST['act'] == "filter-$tag") { + if ($_POST['filter'] == "filter-$tag") { $this->setSearch($tag); break; } @@ -411,7 +411,7 @@ class filter { function renderFilterMenu() { // Load shortcut - $result= "
". + $result= "
". "