diff --git a/htdocs/admin/index.php b/htdocs/admin/index.php index 77ea430746e..b706344b1ad 100644 --- a/htdocs/admin/index.php +++ b/htdocs/admin/index.php @@ -60,6 +60,7 @@ if ( (isset($_POST["action"]) && $_POST["action"] == 'update') if ($_POST['action'] != 'updateedit') { Header("Location: index.php"); + exit; } } @@ -280,7 +281,7 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit') print ''; print ""; print ""; - print "\n"; + print "\n"; print "
".$langs->trans("VATIsUsedDesc")."
".$langs->trans("Example").': '.$langs->trans("VATIsUsedExampleFR")."
".$langs->trans("Example").': '.$langs->trans("VATIsUsedExampleFR")."
"; print "\n"; @@ -297,7 +298,7 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit') print ''; print ""; print ""; - print "\n"; + print "\n"; print "
".$langs->trans("VATIsNotUsedDesc")."
".$langs->trans("Example").': '.$langs->trans("VATIsNotUsedExampleFR")."
".$langs->trans("Example").': '.$langs->trans("VATIsNotUsedExampleFR")."
"; print "\n"; @@ -459,7 +460,7 @@ else print ''; print ""; print ""; - print "\n"; + print "\n"; print "
".$langs->trans("VATIsUsedDesc")."
".$langs->trans("Example").': '.$langs->trans("VATIsUsedExampleFR")."
".$langs->trans("Example").': '.$langs->trans("VATIsUsedExampleFR")."
"; print "\n"; @@ -476,7 +477,7 @@ else print ''; print ""; print ""; - print "\n"; + print "\n"; print "
".$langs->trans("VATIsNotUsedDesc")."
".$langs->trans("Example").': '.$langs->trans("VATIsNotUsedExampleFR")."
".$langs->trans("Example").': '.$langs->trans("VATIsNotUsedExampleFR")."
"; print "\n";