diff --git a/lam/templates/config/confmain.php b/lam/templates/config/confmain.php
index 6c6ec213..cec72f67 100644
--- a/lam/templates/config/confmain.php
+++ b/lam/templates/config/confmain.php
@@ -138,8 +138,8 @@ echo ("
  |
");
// Samba version
echo ("".
_("Samba 3.x schema") . ": | | ");
-elseif ($conf->get_samba3() == "yes") echo ("");
+if ($conf->get_samba3() == "yes") echo ("");
+else echo ("");
echo ("" . _("Help") . " |
\n");
echo ("");