Code

Updated
[gosa.git] / plugins / admin / fai / class_faiVariableEntry.inc
index 62904273ca9ba47b6b77f9517b376a3da7d29b3e..f367315026db30f7af6f4bf136aacb228cd9a0ed 100644 (file)
@@ -49,9 +49,9 @@ class faiVariableEntry extends plugin
      */
     foreach($this->attributes as $attrs){
       if(get_magic_quotes_gpc()){
-        $smarty->assign($attrs,htmlentities (stripslashes($this->$attrs)));
+        $smarty->assign($attrs,htmlentities (stripslashes(utf8_decode($this->$attrs))));
       }else{
-        $smarty->assign($attrs,htmlentities (($this->$attrs)));
+        $smarty->assign($attrs,htmlentities (utf8_decode($this->$attrs)));
       }
     }