Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2011-10-10 16:49:41 +0400
committerMarc Delisle <marc@infomarc.info>2011-10-10 16:49:41 +0400
commita6fc7ac92836e6e25cb8efc98c014a0e3a7e55ca (patch)
treef6d28f5d68251c76efeed79a9d060c9e905d7d15 /navigation.php
parent6fec80c61445dc11b4ff3023947b9882e163d382 (diff)
bug [navi] Wrong icon for view (MySQL 5.5)
Diffstat (limited to 'navigation.php')
-rw-r--r--navigation.php3
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,
.'&amp;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"';