diff options
Diffstat (limited to 'themes/default/template/picture.tpl')
-rw-r--r-- | themes/default/template/picture.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl index 419918aca..94be0b03d 100644 --- a/themes/default/template/picture.tpl +++ b/themes/default/template/picture.tpl @@ -69,7 +69,7 @@ switchBox("#derivativeSwitchLink", "#derivativeSwitchBox"); <span class="pwg-icon pwg-icon-save"> </span><span class="pwg-button-text">{'Download'|@translate}</span> </a> {/if}{/strip} -{foreach from=$PLUGIN_PICTURE_BUTTONS item=button}{$button}{/foreach} +{if isset($PLUGIN_PICTURE_BUTTONS)}{foreach from=$PLUGIN_PICTURE_BUTTONS item=button}{$button}{/foreach}{/if} {if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if} {strip}{if isset($favorite)} <a href="{$favorite.U_FAVORITE}" title="{if $favorite.IS_FAVORITE}{'delete this photo from your favorites'|@translate}{else}{'add this photo to your favorites'|@translate}{/if}" class="pwg-state-default pwg-button" rel="nofollow"> |