diff --git a/plugins/admin/systems/class_glpiPrinterCartridges.inc b/plugins/admin/systems/class_glpiPrinterCartridges.inc
index 672f324af87390353837d5facdfe1f89e7ff30ca..3d9d6301001a0e5dbe7b8ff89567c44aa178f7ed 100644 (file)
var $del = 0;
- function glpiPrinterCartridges ($config,$dn,$type)
+ function glpiPrinterCartridges (&$config,$dn,$type)
{
plugin::plugin ($config, $dn);
/* This function cehck all created devices if you wan't to create device specific check
use >>if($attr['device_type']=="moboard")<< to create a device type depending check
*/
- function check($attr)
+ function check()
{
/* Call common method to give check the hook */
$message= plugin::check();