From 9c0593c1a93f3b2e0390c3875e9f531203a4d407 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 10 Nov 2005 07:51:13 +0000 Subject: [PATCH] ups set smarty vars before was set git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1900 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/environment/class_environment.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index e3ea8c892..d5df39c6d 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -175,6 +175,10 @@ class environment extends plugin /* Call parent execute */ plugin::execute(); + /* Fill templating stuff */ + $smarty= get_smarty(); + $display= ""; + /* Prepare all variables for smarty */ foreach($this->attributes as $s_attr){ /* Set value*/ @@ -196,9 +200,6 @@ class environment extends plugin } - /* Fill templating stuff */ - $smarty= get_smarty(); - $display= ""; /* Is accout enabled | are we editing from usermenu or admin menu All these tab management is done here */ -- 2.30.2