diff --git a/adminer/sql.inc.php b/adminer/sql.inc.php index 0192959a..7a21235d 100644 --- a/adminer/sql.inc.php +++ b/adminer/sql.inc.php @@ -244,8 +244,8 @@ if (!isset($_GET["import"])) { echo "

"; } -echo checkbox("error_stops", 1, ($_POST ? $_POST["error_stops"] : isset($_GET["import"])), lang('Stop on error')) . "\n"; -echo checkbox("only_errors", 1, ($_POST ? $_POST["only_errors"] : isset($_GET["import"])), lang('Show only errors')) . "\n"; +echo checkbox("error_stops", 1, ($_POST ? $_POST["error_stops"] : isset($_GET["import"]) || $_GET["error_stops"]), lang('Stop on error')) . "\n"; +echo checkbox("only_errors", 1, ($_POST ? $_POST["only_errors"] : isset($_GET["import"]) || $_GET["only_errors"]), lang('Show only errors')) . "\n"; echo "\n"; if (!isset($_GET["import"]) && $history) {