diff --git a/plugins/admin/systems/class_glpiAttachmentPool.inc b/plugins/admin/systems/class_glpiAttachmentPool.inc
index fb1d5618dd0569ba02dd31cf062c0ba3ea7fa34d..8b0300d6f65669bbe48af73d96e160f2e94938d8 100644 (file)
/* Simple check */
function check()
{
- $message = array();
+ /* Call common method to give check the hook */
+ $message= plugin::check();
+
if($this->edit){
/* check if given name is already in use */