aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/admin_advices
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/admin_advices/main.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/admin_advices/main.inc.php b/plugins/admin_advices/main.inc.php
index c6362a72b..5af0b8f9a 100644
--- a/plugins/admin_advices/main.inc.php
+++ b/plugins/admin_advices/main.inc.php
@@ -13,7 +13,9 @@ function set_admin_advice()
// This Plugin works only on the Admin page
if ( isset($page['body_id']) and $page['body_id']=='theAdminPage'
- and isset($page['page']) and $page['page'] == 'intro' )
+ and isset($page['page']['name']) and $page['page']['name'] == 'intro'
+ and isset($page['page']['type']) and $page['page']['type'] == 'standard'
+ )
{
// Setup Advice Language (Maybe there is already a variable)
$advlang = ( isset($user['language']) ) ?