Code

Removed escapes from posts
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Jun 2006 10:21:05 +0000 (10:21 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Jun 2006 10:21:05 +0000 (10:21 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3937 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_hotplugDialog.inc

index 6adf308960bdd98941970712ea6cca90d85d4d76..dbb082141e3ea561f3e3306cfb14f04b2019527a 100644 (file)
@@ -94,7 +94,7 @@ class hotplugDialog extends plugin
     if(isset($_POST['dialogissubmitted'])){
       foreach($this->attributes as $s_attr){
         if(isset($_POST[$s_attr])){
-          $this->$s_attr = $_POST[$s_attr];
+          $this->$s_attr = stripslashes($_POST[$s_attr]);
         }else{
           $this->$s_attr = false;
         }