1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-16 03:24:01 +02:00

Name Edit button on select.inc.php

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@817 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2009-07-13 22:18:53 +00:00
parent f973fdabaf
commit 3c860b7859
3 changed files with 3 additions and 5 deletions

View File

@@ -23,8 +23,7 @@ if (isset($_GET["download"])) {
// posted form with no data means exceeded post_max_size because Adminer always sends token at least
$error = lang('Too big POST data. Reduce the data or increase the "post_max_size" configuration directive.');
}
if (isset($_GET["select"]) && $_POST && (!$_POST["delete"] && !$_POST["export"] && !$_POST["import"] && !$_POST["save"] && !$_POST["email"])) {
// POST form on select page is used to edit or clone data
if (isset($_GET["select"]) && ($_POST["edit"] || $_POST["clone"]) && !$_POST["save"]) {
$_GET["edit"] = $_GET["select"];
}
if (isset($_GET["edit"])) {