mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Qual: Fix remaining phan notice in expensereport_linktofile
This commit is contained in:
parent
991afe2b21
commit
18f616b201
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user