The branch, master has been updated via 9a0593ab2b76889665ceefa75214b37fc506bf8d (commit) from 12237ed84ff6549c6dbc1bc4640b320fd6184304 (commit)
- Log ----------------------------------------------------------------- commit 9a0593ab2b76889665ceefa75214b37fc506bf8d Author: Michal Čihař michal@cihar.com Date: Fri Aug 19 13:18:05 2011 +0200
Fix expanding logic
-----------------------------------------------------------------------
Summary of changes: pmd_general.php | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/pmd_general.php b/pmd_general.php index bfb9818..3cf33df 100644 --- a/pmd_general.php +++ b/pmd_general.php @@ -238,7 +238,10 @@ for ($i = 0; $i < count($GLOBALS['PMD']["TABLE_NAME"]); $i++) { </tr> </thead> <tbody id="id_tbody_<?php echo $t_n_url ?>" - <?php if ( isset($tab_pos[$t_n])) echo 'style="display: none;"'; ?>> + <?php + if ( isset($tab_pos[$t_n]) && empty($tab_pos[$t_n]["V"]) { + echo 'style="display: none;"'; + }?>> <?php $display_field = PMA_getDisplayField($db, $GLOBALS['PMD']["TABLE_NAME_SMALL"][$i]); for ($j = 0, $id_cnt = count($tab_column[$t_n]["COLUMN_ID"]); $j < $id_cnt; $j++) {
hooks/post-receive