2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Laurent Destailleur
2020-10-09 18:43:24 +02:00
parent 327ca5f595
commit cc82a15688

View File

@@ -1605,7 +1605,7 @@ function dol_banner_tab($object, $paramid, $morehtml = '', $shownav = 1, $fieldi
if ($pdfexists && !$error) if ($pdfexists && !$error)
{ {
$heightforphotref = 70; $heightforphotref = 80;
if (!empty($conf->dol_optimize_smallscreen)) $heightforphotref = 60; if (!empty($conf->dol_optimize_smallscreen)) $heightforphotref = 60;
// If the preview file is found // If the preview file is found
if (file_exists($fileimage)) if (file_exists($fileimage))