diff --git a/lam/templates/lists/listgroups.php b/lam/templates/lists/listgroups.php index 0a363315..43686f1d 100644 --- a/lam/templates/lists/listgroups.php +++ b/lam/templates/lists/listgroups.php @@ -97,8 +97,8 @@ for ($i = 0; $i < sizeof($temp_array); $i++) { $searchfilter = ""; for ($k = 0; $k < sizeof($desc_array); $k++) { if ($_POST["filter" . strtolower($attr_array[$k])]) { - $searchfilter = $searchfilter . "&filter" . strtolower($attr_array[$k]) . "=". - $_POST["filter" . strtolower($attr_array[$k])]; + $searchfilter = $searchfilter . "&filter" . strtolower($attr_array[$k]) . "='". + $_POST["filter" . strtolower($attr_array[$k])] . "'"; } } @@ -130,8 +130,11 @@ else StatusMessage("ERROR", _("LDAP Search failed! Please check your preferences echo ("
\n"); echo "