From 7305783c21c46098881383ab5824cfaeaf8bbe97 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 12 Jan 2018 13:09:30 +0100 Subject: [PATCH] Return false from toggle() --- adminer/include/adminer.inc.php | 2 +- adminer/include/functions.inc.php | 2 +- adminer/sql.inc.php | 4 ++-- adminer/static/functions.js | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index 4b9bec0c..1e6b00a9 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -584,7 +584,7 @@ focus(qs('#username')); $query = preg_replace('~[\x80-\xFF]+$~', '', substr($query, 0, 1e6)) . "\n..."; // [\x80-\xFF] - valid UTF-8, \n - can end by one-line comment } $history[$_GET["db"]][] = array($query, time(), $time); // not DB - $_GET["db"] is changed in database.inc.php //! respect $_GET["ns"] - return " " . @date("H:i:s") . " " . lang('SQL command') . "" // @ - time zone may be not set + return " " . @date("H:i:s") . " " . lang('SQL command') . "" // @ - time zone may be not set . "