Code

Fixed some typos
[gosa.git] / plugins / admin / fai / class_faiHookEntry.inc
index 4b10f1befbfa758c956d08f9b823b98af1342cf4..a3ed1dfd62bf8f9b7bd829e6eac6af8f7fe11e53 100644 (file)
@@ -75,9 +75,9 @@ class faiHookEntry extends plugin
      */
     foreach($this->attributes as $attrs){
       if(get_magic_quotes_gpc()){
-        $smarty->assign($attrs,stripslashes($this->$attrs));
+        $smarty->assign($attrs,htmlentities(stripslashes($this->$attrs)));
       }else{
-        $smarty->assign($attrs,($this->$attrs));
+        $smarty->assign($attrs,htmlentities($this->$attrs));
       }
     }