mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Merge pull request #32862 from FHenry/20_fix_warning
fix: php 8 warning
This commit is contained in:
@@ -95,7 +95,7 @@ if (!getDolGlobalString('EXPENSEREPORT_DISABLE_ATTACHMENT_ON_LINES')) {
|
||||
}
|
||||
print '<div class="photoref backgroundblank">';
|
||||
|
||||
print $thumbshown ? $thumbshown : img_mime($minifile);
|
||||
print $thumbshown ? $thumbshown : (empty($minifile) ? '' : img_mime($minifile));
|
||||
|
||||
print '</div>';
|
||||
if (empty($urlforhref) || empty($thumbshown)) {
|
||||
|
||||
Reference in New Issue
Block a user