diff --git a/plugins/admin/systems/class_glpiManufacturer.inc b/plugins/admin/systems/class_glpiManufacturer.inc
index b021060e48575ee8db996683ac5908ed6f0e6999..120818a5ddc7839b1b52c753c21d7da1ec59d8de 100644 (file)
}
print_red(sprintf(_("You can't delete this manufacturer, it is still in use by these system(s) '%s'"),$names));
}else{
- //$this->parent->handle->removeEnterprise($_POST['manufacturer']);
+ $this->parent->handle->removeEnterprise($_POST['manufacturer']);
}
}
{
foreach($this->attributes as $attr){
if(isset($_POST[$attr])){
- $this->$attr = $_POST[$attr];
+ $this->$attr = stripslashes($_POST[$attr]);
}
}
}