From a2d836fea4ea1103faa8a6ee3b669bc4394b814d Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 16 Aug 2008 13:04:44 +0000 Subject: [PATCH] bug #2050068 [gui] "Check tables having overhead" selects wrong tables --- ChangeLog | 1 + db_structure.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1d3bfef1d..a195a2efc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -70,6 +70,7 @@ danbarry + [display] headwords for sorted column - bug #2033962 [import] Cannot import zip file + [lang] Swedish update, thanks to Björn T. Hallberg +- bug #2050068 [gui] "Check tables having overhead" selects wrong tables 2.11.9.0 (not yet released) - bug #2031221 [auth] Links to version number on login screen diff --git a/db_structure.php b/db_structure.php index 0422ebb3c..1a8a65a94 100644 --- a/db_structure.php +++ b/db_structure.php @@ -273,7 +273,7 @@ foreach ($tables as $keyname => $each_table) { . ' ' . $overhead_unit . '' . "\n"; unset($formatted_overhead); $overhead_check .= - "document.getElementById('checkbox_tbl_$i').checked = true;"; + "document.getElementById('checkbox_tbl_" . ($i + 1) . "').checked = true;"; } else { $overhead = '-'; }