From 12c42b156e5c28380c00bd64d538cd9b6caffc5e Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Mon, 16 Jul 2007 11:41:25 +0000 Subject: [PATCH] Comments git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@180 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 9a069497..7fed27a3 100644 --- a/index.php +++ b/index.php @@ -16,7 +16,7 @@ if (isset($_GET["dump"])) { include "./dump.inc.php"; } elseif (isset($_GET["download"])) { include "./download.inc.php"; -} else { +} else { // outputs footer $on_actions = array("RESTRICT", "CASCADE", "SET NULL", "NO ACTION"); $types = array( "tinyint" => 3, "smallint" => 5, "mediumint" => 8, "int" => 10, "bigint" => 20, @@ -36,7 +36,7 @@ if (isset($_GET["dump"])) { include "./select.inc.php"; } elseif (isset($_GET["view"])) { include "./view.inc.php"; - } else { + } else { // uses CSRF token if ($_POST) { $error = (in_array($_POST["token"], (array) $TOKENS) ? "" : lang('Invalid CSRF token. Send the form again.')); }