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-09-24 14:03:25 +0400
committerMarc Delisle <marc@infomarc.info>2011-09-24 14:03:25 +0400
commit5b2befc1716bfca6b21305a0cb5df6d965eb4c9a (patch)
treecb4a34f1bdcbef8c34a91bd5d0b496ab0716742a /main.php
parenta211b8ba0ee947a0aacdf23b7ec72fb038a0c83c (diff)
bug #3411633 [core] Call to undefined function PMA_isSuperuser()
Diffstat (limited to 'main.php')
-rw-r--r--main.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/main.php b/main.php
index 836a250433..0b0de1a26c 100644
--- a/main.php
+++ b/main.php
@@ -142,10 +142,12 @@ echo '</ul>';
// User preferences
-echo '<ul>';
-echo PMA_printListItem(__('More settings'), 'li_user_preferences',
+if ($server > 0) {
+ echo '<ul>';
+ echo PMA_printListItem(__('More settings'), 'li_user_preferences',
'./prefs_manage.php?' . $common_url_query);
-echo '</ul>';
+ echo '</ul>';
+}
echo '</div>';