Code

Added support for general check hooks
[gosa.git] / plugins / admin / systems / class_glpiPrinterCartridgesEdit.inc
index ff8d42751a43bb6f07cf7074028394c1686c49e3..c43a3f1124eaeda32136fd894571c1aea31613a9 100644 (file)
@@ -295,7 +295,8 @@ class glpiPrinterCartridgesEdit extends plugin
 
   /* Check given values */
   function check(){
-    $message=array();
+    /* Call common method to give check the hook */
+    $message= plugin::check();
   
     /* Avoid choosing an already used name */
     $types = $this->parent->handle->getCartridgeTypeInformations();