diff --git a/adminer/select.inc.php b/adminer/select.inc.php index f359cdbc..c8dc5ec7 100644 --- a/adminer/select.inc.php +++ b/adminer/select.inc.php @@ -437,7 +437,6 @@ if (!$columns) { exit; } echo "\n"; - echo (!$group && $select ? "" : "\n"); } if (($rows || $page) && !is_ajax()) { @@ -480,20 +479,21 @@ if (!$columns) { echo "
\n"; echo ($found_rows !== false ? "(" . ($exact_count ? "" : "~ ") . lang('%d row(s)', $found_rows) . ") " : ""); - echo checkbox("all", 1, 0, lang('whole result')) . "\n"; + echo checkbox("all", 1, 0, lang('whole result'), "selectCount(this.checked ? '$found_rows' : formChecked(this, /check/));") . "\n"; if ($adminer->selectCommandPrint()) { ?>
-