From 6d70001d586dc7ae0754eb52f88acbb49ad1b393 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Mon, 15 Jun 2009 20:11:35 +0000 Subject: [PATCH] Don't save Collation to cookie git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@704 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- adminer/create.inc.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/adminer/create.inc.php b/adminer/create.inc.php index e9cb1578..731c6e52 100644 --- a/adminer/create.inc.php +++ b/adminer/create.inc.php @@ -64,7 +64,6 @@ if ($_POST && !$error && !$_POST["add"] && !$_POST["drop_col"] && !$_POST["up"] } else { $path = preg_replace('~\\?.*~', '', $_SERVER["REQUEST_URI"]); setcookie("Engine", $_POST["Engine"], strtotime("+1 month"), $path); - setcookie("Collation", $_POST["Collation"], strtotime("+1 month"), $path); query_redirect("CREATE TABLE " . idf_escape($_POST["name"]) . " (" . implode(",", $fields) . "\n) $status", $location, lang('Table has been created.')); } } @@ -109,7 +108,6 @@ if ($_POST) { } else { $row = array( "Engine" => $_COOKIE["Engine"], - "Collation" => $_COOKIE["Collation"], "fields" => array(array("field" => "")), "partition_names" => array(""), ); -- 2.39.5