Code

If we use stripslashes to display, we should use addslahes at construction.
[gosa.git] / plugins / admin / fai / class_faiVariableEntry.inc
index 8ab02a2f5e387f5b30069cbc252b1467865ae359..fa4bd2e5b7783c27ca78fcff5f9c84428fb96de3 100644 (file)
@@ -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";