From 6fc07742f8fca9d32db23243d374ea27e8ee4c1e Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 20 Jun 2013 03:38:47 +0000 Subject: smarty 3 - first pass for tests git-svn-id: http://piwigo.org/svn/trunk@23384 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/picture.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/default/template/picture.tpl') 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"); {'Download'|@translate} {/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)} -- cgit v1.2.3