diff options
| author | lsces <lester@lsces.co.uk> | 2026-04-16 12:00:51 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2026-04-16 12:00:51 +0100 |
| commit | b4b0a0e8bbf28b4508c23a5263feda1f9fe5d12f (patch) | |
| tree | 0d234c8c8ff8aee63a54beb94c87f0e06089ef5a /templates | |
| parent | 9a7d792185757ee2af3101742d86e6e9d92b957b (diff) | |
| download | liberty-b4b0a0e8bbf28b4508c23a5263feda1f9fe5d12f.tar.gz liberty-b4b0a0e8bbf28b4508c23a5263feda1f9fe5d12f.tar.bz2 liberty-b4b0a0e8bbf28b4508c23a5263feda1f9fe5d12f.zip | |
Style tidies for PHP8.4
Diffstat (limited to 'templates')
| -rwxr-xr-x | templates/mime_meta_inc.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/mime_meta_inc.tpl b/templates/mime_meta_inc.tpl index 2bb3235..1d946ad 100755 --- a/templates/mime_meta_inc.tpl +++ b/templates/mime_meta_inc.tpl @@ -13,7 +13,7 @@ <a href="{$attachment.display_url}">{$attachment.file_name}</a> {/forminput} </div> -{elseif $attachment.download_url} +{elseif !empty($attachment.download_url)} <div class="form-group"> {formlabel label="Download" for=""} {forminput} @@ -32,7 +32,7 @@ <div class="form-group"> {formlabel label="Last Modified" for=""} {forminput} - {$attachment.last_modified|bit_long_datetime} + {$attachment.last_modified|default:'---'|bit_long_datetime} {/forminput} </div> |
