diff --git a/adminer/select.inc.php b/adminer/select.inc.php index 2f467b7a..d00edede 100644 --- a/adminer/select.inc.php +++ b/adminer/select.inc.php @@ -493,7 +493,8 @@ if (!$columns && support("table")) { echo "

\n"; echo ($found_rows !== false ? "(" . ($exact_count ? "" : "~ ") . lang('%d row(s)', $found_rows) . ") " : ""); - echo checkbox("all", 1, 0, lang('whole result'), "var checked = formChecked(this, /check/); selectCount('selected', this.checked ? '$found_rows' : checked); selectCount('selected2', this.checked || !checked ? '$found_rows' : checked);") . "\n"; + $display_rows = ($exact_count ? "" : "~ ") . $found_rows; + echo checkbox("all", 1, 0, lang('whole result'), "var checked = formChecked(this, /check/); selectCount('selected', this.checked ? '$display_rows' : checked); selectCount('selected2', this.checked || !checked ? '$display_rows' : checked);") . "\n"; if ($adminer->selectCommandPrint()) { ?> @@ -503,7 +504,7 @@ if (!$columns && support("table")) {

- +