diff options
author | Marc Delisle <marc@infomarc.info> | 2011-10-10 16:49:41 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2011-10-10 16:49:41 +0400 |
commit | a6fc7ac92836e6e25cb8efc98c014a0e3a7e55ca (patch) | |
tree | f6d28f5d68251c76efeed79a9d060c9e905d7d15 /navigation.php | |
parent | 6fec80c61445dc11b4ff3023947b9882e163d382 (diff) |
bug [navi] Wrong icon for view (MySQL 5.5)
Diffstat (limited to 'navigation.php')
-rw-r--r-- | navigation.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/navigation.php b/navigation.php index ea774899a8..a607f2848a 100644 --- a/navigation.php +++ b/navigation.php @@ -625,7 +625,8 @@ function PMA_displayTableList($tables, $visible = false, .'&goto=' . $GLOBALS['cfg']['LeftDefaultTabTable'] . '" >' .'<img class="icon"'; - if ('VIEW' === strtoupper($table['Comment'])) { + + if (PMA_Table::isView($table_db, $table['Name'])) { echo ' src="' . $GLOBALS['pmaThemeImage'] . 's_views.png"'; } else { echo ' src="' . $GLOBALS['pmaThemeImage'] . 'b_sbrowse.png"'; |