Code

If we use stripslashes to display, we should use addslahes at construction.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 19 Oct 2005 05:21:00 +0000 (05:21 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 19 Oct 2005 05:21:00 +0000 (05:21 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1607 594d385d-05f5-0310-b6e9-bd551577e9d8

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";