Reduce errors

This commit is contained in:
Laurent Destailleur 2021-03-01 21:57:45 +01:00
parent 5b771eb798
commit f64f53e460

View File

@ -266,6 +266,7 @@ if (empty($reshook))
{
$error++;
setEventMessages($db->lasterror(), null, 'errors');
break;
}
}
}
@ -282,6 +283,7 @@ if (empty($reshook))
{
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
$error++;
break;
}
}