diff --git a/plugins/admin/systems/class_glpiManufacturer.inc b/plugins/admin/systems/class_glpiManufacturer.inc
index 9b92e4016babcb5f494a24d73641235ac1eabcd1..8e676d8eeeae19cb97c300b714d9ec1228103a29 100644 (file)
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();
}
{
foreach($this->attributes as $attr){
if(isset($_POST[$attr])){
- $this->$attr = $_POST[$attr];
+ $this->$attr = stripslashes($_POST[$attr]);
}
}
}