added check for host suffix

This commit is contained in:
Roland Gruber 2003-05-02 17:47:35 +00:00
parent f3f1deb25b
commit 103dfaedc2
1 changed files with 5 additions and 0 deletions

View File

@ -80,6 +80,11 @@ if (chop($suffgroups) == "") {
echo ("\n<br><br><br><a href=\"javascript:history.back()\">" . _("Back to preferences...") . "</a>");
exit;
}
if (chop($suffhosts) == "") {
echo _("<font color=\"red\"><b>" . _("HostSuffix is empty!") . "</b></font>");
echo ("\n<br><br><br><a href=\"javascript:history.back()\">" . _("Back to preferences...") . "</a>");
exit;
}
if (chop($minUID) == "") {
echo _("<font color=\"red\"><b>" . _("MinUID is empty!") . "</b></font>");
echo ("\n<br><br><br><a href=\"javascript:history.back()\">" . _("Back to preferences...") . "</a>");