diff --git a/lam/lib/listgroups.php b/lam/lib/listgroups.php
index c28776e3..1426c561 100644
--- a/lam/lib/listgroups.php
+++ b/lam/lib/listgroups.php
@@ -61,8 +61,9 @@ $sr = @ldap_search($_SESSION["ldap"]->server(),
if ($sr) {
$info = ldap_get_entries($_SESSION["ldap"]->server, $sr);
ldap_free_result($sr);
+ if ($info["count"] == 0) echo ("
" . _("No Grous found!") . "
");
}
-else echo ("
" . _("No Groups found!") . "
");
+else echo ("
" . _("LDAP Search failed! Please check your preferences.
No Groups found!") . "
");
// print host table header
echo "