summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 62f10e6)
raw | patch | inline | side by side (parent: 62f10e6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 18 Oct 2005 12:37:47 +0000 (12:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 18 Oct 2005 12:37:47 +0000 (12:37 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1606 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiVariableEntry.inc | patch | blob | history |
diff --git a/plugins/admin/fai/class_faiVariableEntry.inc b/plugins/admin/fai/class_faiVariableEntry.inc
index 18f635f129a75534f3d717dae1bc9c0a3cabc97c..8ab02a2f5e387f5b30069cbc252b1467865ae359 100644 (file)
*/
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)));
}
}
$tmp=array();
foreach($this->attributes as $attrs){
$attr = preg_replace("/^Object_/","",$attrs);
- $tmp[$attr] = $this->$attrs;
+ $tmp[$attr] = stripslashes( $this->$attrs);
}
if(($this->orig_cn)&&($tmp['cn']!=$this->orig_cn)){