mirror of
https://github.com/vrana/adminer.git
synced 2026-06-15 00:32:17 +02:00
Don't try to drop new object
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@315 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
$dropped = false;
|
||||
if ($_POST && !$error) {
|
||||
if ($_POST["dropped"] || $mysql->query("DROP VIEW " . idf_escape($_GET["createv"]))) {
|
||||
if (strlen($_GET["createv"]) && ($_POST["dropped"] || $mysql->query("DROP VIEW " . idf_escape($_GET["createv"])))) {
|
||||
if ($_POST["drop"]) {
|
||||
redirect(substr($SELF, 0, -1), lang('View has been dropped.'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user