summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2025-09-10 19:45:55 +0100
committerlsces <lester@lsces.co.uk>2025-09-10 19:45:55 +0100
commit4991eb2d49315c1294c91bc991cb6917637a2fb0 (patch)
treeefe811214fd0982ec30e7be82b9c73e7fcce5967 /templates
parentbb1d0a4f7da3f9438f3b906c560d19867a3e4e5d (diff)
downloadfisheye-4991eb2d49315c1294c91bc991cb6917637a2fb0.tar.gz
fisheye-4991eb2d49315c1294c91bc991cb6917637a2fb0.tar.bz2
fisheye-4991eb2d49315c1294c91bc991cb6917637a2fb0.zip
Missing varable default
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/image_order.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/image_order.tpl b/templates/image_order.tpl
index 076bcd2..2a99b66 100755
--- a/templates/image_order.tpl
+++ b/templates/image_order.tpl
@@ -46,7 +46,7 @@
<strong>{tr}Photo Date{/tr}</strong>: {$galItem->mInfo.event_time|bit_short_datetime}<br />
{/if}
<strong>{tr}Uploaded{/tr}</strong>: {$galItem->mInfo.created|bit_short_datetime}<br />
- <strong>{tr}File name{/tr}</strong>: {$galItem->mInfo.filename} <br />
+ <strong>{tr}File name{/tr}</strong>: {$galItem->mInfo.filename|default:''} <br />
{if $galItem->mInfo.user_id == $gBitUser->mUserId || $gBitUser->isAdmin()}
<strong>{tr}Edit Image{/tr}</strong>: <a href="javascript:void(0);" onclick="BitAjax.updater( 'imgedit', '{$smarty.const.FISHEYE_PKG_URL}edit_image.php', 'ajax=true&amp;content_id={$galItem->mInfo.content_id}&amp;gallery_id={$gContent->mGalleryId}' );">{booticon iname="fa-pen-to-square" iexplain="Edit Details"}</a>
<noscript><div><a href="{$smarty.const.FISHEYE_PKG_URL}edit_image.php?content_id={$galItem->mInfo.content_id}">{booticon iname="fa-pen-to-square" iexplain="Edit Image"}</a></div></noscript>