add warning

This commit is contained in:
Laurent Destailleur 2020-02-10 20:57:55 +01:00
parent 2756dc156d
commit 5823e2f5ef

View File

@ -4744,6 +4744,7 @@ abstract class CommonObject
{
if (!dol_is_file($srctemplatepath))
{
dol_syslog("Failed to locate template file ".$srctemplatepath, LOG_WARNING);
$this->error = 'ErrorGenerationAskedForOdtTemplateWithSrcFileNotFound';
return -1;
}