diff --git a/htdocs/core/customreports.php b/htdocs/core/customreports.php index 75ee1126897..ca00f4fe84e 100644 --- a/htdocs/core/customreports.php +++ b/htdocs/core/customreports.php @@ -121,6 +121,7 @@ $hookmanager->initHooks(array('customreport')); // Note that conf->hooks_modules $title = ''; $picto = ''; +$errormessage = null; $head = array(); $ObjectClassName = ''; // Objects available by default