mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Qual: Fix remaining phan notice in expensereport_linktofile
This commit is contained in:
@@ -103,7 +103,7 @@ if (!getDolGlobalString('EXPENSEREPORT_DISABLE_ATTACHMENT_ON_LINES')) {
|
||||
print '<div class="photoref backgroundblank">';
|
||||
|
||||
// TODO: Check that $minifile has a proper value here (set in true part of if, not else part).
|
||||
print $thumbshown ? $thumbshown : img_mime($minifile);
|
||||
print $thumbshown ? $thumbshown : ($minifile ? img_mime($minifile) : null);
|
||||
|
||||
print '</div>';
|
||||
if (empty($urlforhref) || empty($thumbshown)) {
|
||||
|
||||
Reference in New Issue
Block a user