From 3f14bb7fad660fec3b02c120ab6e588086613730 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 10 Nov 2010 09:25:51 +0000 Subject: [PATCH] Fixed error git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20217 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/generic/statistics/class_statistics.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-core/plugins/generic/statistics/class_statistics.inc b/gosa-core/plugins/generic/statistics/class_statistics.inc index 3caa0f588..c0937f8f3 100644 --- a/gosa-core/plugins/generic/statistics/class_statistics.inc +++ b/gosa-core/plugins/generic/statistics/class_statistics.inc @@ -155,13 +155,13 @@ class statistics extends plugin $smarty->assign("instanceRegistered", $this->instanceRegistered); $smarty->assign("serverAccessible", $this->serverAccessible); $smarty->assign("registrationNotWanted", $this->registrationNotWanted); + $plist = session::get('plist'); + $id = array_search('dashBoard', $plist->pluginList); + $smarty->assign('dashBoardId', $id); // If we have an unregistered instance of GOsa, display a message which // allows to registrate GOsa if(!$this->instanceRegistered){ - $plist = session::get('plist'); - $id = array_search('dashBoard', $plist->pluginList); - $smarty->assign('dashBoardId', $id); return($smarty->fetch(get_template_path('statistics.tpl', TRUE))); } -- 2.30.2