add warning
This commit is contained in:
parent
2756dc156d
commit
5823e2f5ef
@ -4744,6 +4744,7 @@ abstract class CommonObject
|
|||||||
{
|
{
|
||||||
if (!dol_is_file($srctemplatepath))
|
if (!dol_is_file($srctemplatepath))
|
||||||
{
|
{
|
||||||
|
dol_syslog("Failed to locate template file ".$srctemplatepath, LOG_WARNING);
|
||||||
$this->error = 'ErrorGenerationAskedForOdtTemplateWithSrcFileNotFound';
|
$this->error = 'ErrorGenerationAskedForOdtTemplateWithSrcFileNotFound';
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user