Code

Fixed w3c problems, and found a DOCTYPE that supports scrollTop attribute in JS.-
[gosa.git] / plugins / admin / systems / class_glpiManufacturer.inc
index 9b92e4016babcb5f494a24d73641235ac1eabcd1..9ae1ea8003b2c5214d303c747443f7c15d41a05b 100644 (file)
@@ -28,9 +28,9 @@ class glpiManufacturer extends plugin
   var $email      ="";
   var $ID         =-1;
 
-  function glpiManufacturer($config, $dn= NULL)
+  function glpiManufacturer($config, $dn= NULL, $parent= NULL)
   {
-    plugin::plugin ($config, $dn);
+    plugin::plugin ($config, $dn, $parent);
     $this->ui = get_userinfo();  
   }
 
@@ -159,7 +159,7 @@ class glpiManufacturer extends plugin
   {
     foreach($this->attributes as $attr){
       if(isset($_POST[$attr])){
-        $this->$attr = $_POST[$attr];
+        $this->$attr = stripslashes($_POST[$attr]);
       }
     }
   }