2
0
forked from Wavyzz/dolibarr

Fix function not found when creating a payment of an expense report

This commit is contained in:
Laurent Destailleur
2019-12-08 04:22:09 +01:00
parent c5572e0176
commit 394104291a

View File

@@ -1251,6 +1251,7 @@ function dol_banner_tab($object, $paramid, $morehtml='', $shownav=1, $fieldid='r
{
if (empty($conf->global->MAIN_DISABLE_PDF_THUMBS)) // If you experience trouble with pdf thumb generation and imagick, you can disable here.
{
include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
$ret = dol_convert_file($file, 'png', $fileimage);
if ($ret < 0) $error++;
}