Code

Removed escape slahes from posts
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Jun 2006 10:20:36 +0000 (10:20 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Jun 2006 10:20:36 +0000 (10:20 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@3936 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_hotplugDialog.inc

index a314c785071e2ea8008f82087c7738e8af2f0a32..210d787a79ea2801b6c312b73dd5798f783801fa 100644 (file)
@@ -92,7 +92,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;
         }