From: hickert Date: Thu, 10 Nov 2005 07:51:13 +0000 (+0000) Subject: ups set smarty vars before was set X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9c0593c1a93f3b2e0390c3875e9f531203a4d407;p=gosa.git ups set smarty vars before was set git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1900 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 */