[interface] Fix initial state of tables in designer.

bug #2983060, patch #2987900
This commit is contained in:
Sutharshan Balachandren
2010-04-16 09:57:53 +02:00
committed by Michal Čihař
parent b6132c5154
commit 69dd779f40
2 changed files with 3 additions and 1 deletions

View File

@@ -16,6 +16,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
thanks to Björn Wiberg - bwiberg thanks to Björn Wiberg - bwiberg
- bug #2983066 [interface] Flush table on table operations shows the query twice, - bug #2983066 [interface] Flush table on table operations shows the query twice,
thanks to Martynas Mickevičius - BlinK_ thanks to Martynas Mickevičius - BlinK_
- bug #2983060, patch #2987900 [interface] Fix initial state of tables in
designer, thanks to Sutharshan Balachandren.
3.3.2.0 (2010-04-13) 3.3.2.0 (2010-04-13)
- patch #2969449 [core] Name for MERGE engine varies depending on the - patch #2969449 [core] Name for MERGE engine varies depending on the

View File

@@ -225,7 +225,7 @@ for ($i = 0; $i < count($GLOBALS['PMD']["TABLE_NAME"]); $i++) {
</tr> </tr>
</thead> </thead>
<tbody id="id_tbody_<?php echo $t_n_url ?>" <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])) echo 'style="display: none;"'; ?>>
<?php <?php
$display_field = PMA_getDisplayField($db, $GLOBALS['PMD']["TABLE_NAME_SMALL"][$i]); $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++) { for ($j = 0, $id_cnt = count($tab_column[$t_n]["COLUMN_ID"]); $j < $id_cnt; $j++) {