]> git.joonet.de Git - adminer.git/commitdiff
Typo
authorJakub Vrana <jakub@vrana.cz>
Thu, 10 Jun 2010 21:16:10 +0000 (23:16 +0200)
committerJakub Vrana <jakub@vrana.cz>
Wed, 30 Jun 2010 21:07:56 +0000 (23:07 +0200)
adminer/edit.inc.php

index c23867dae08d7bb2a467599e7b45319027ccf8df..c2b97990e0c3e994e7b25d09a685342242c1f525 100644 (file)
@@ -16,7 +16,7 @@ if ($_POST && !$error && !isset($_GET["select"])) {
                $location = ME . "select=" . urlencode($TABLE);
        }
        if (isset($_POST["delete"])) {
-               query_redirect("DELETE" . limit1("FROM " . table($TABLE), $where), $location, lang('Item has been deleted.'));
+               query_redirect("DELETE" . limit1("FROM " . table($TABLE), " WHERE $where"), $location, lang('Item has been deleted.'));
        } else {
                $set = array();
                foreach ($fields as $name => $field) {