Better error message

This commit is contained in:
Laurent Destailleur 2019-08-16 05:14:20 +02:00
parent 9a455cf1d6
commit 62438b61f0

View File

@ -2927,7 +2927,7 @@ function dol_check_secure_access_document($modulepart, $original_file, $entity,
{
if (empty($conf->$modulepart->dir_output)) // modulepart not supported
{
dol_print_error('', 'Error call dol_check_secure_access_document with not supported value for modulepart parameter ('.$modulepart.')');
dol_print_error('', 'Error call dol_check_secure_access_document with not supported value for modulepart parameter ('.$modulepart.'). The module for this modulepart value may not be activated.');
exit;
}