From: hickert Date: Wed, 19 Oct 2005 05:21:00 +0000 (+0000) Subject: If we use stripslashes to display, we should use addslahes at construction. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f59eee4dc244bb6ac7cf6bb5adffcc38bab462cd;p=gosa.git If we use stripslashes to display, we should use addslahes at construction. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1607 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiVariableEntry.inc b/plugins/admin/fai/class_faiVariableEntry.inc index 8ab02a2f5..fa4bd2e5b 100644 --- a/plugins/admin/fai/class_faiVariableEntry.inc +++ b/plugins/admin/fai/class_faiVariableEntry.inc @@ -27,7 +27,7 @@ class faiVariableEntry extends plugin $this->dn=$object['dn']; foreach($object as $name=>$value){ $oname = "Object_".$name; - $this->$oname=$value; + $this->$oname=addslashes($value); } }else{ $this->Object_status = "new";