From 5e3a1a62043cc4602f5fc4fb871d09da65b5a277 Mon Sep 17 00:00:00 2001 From: Johan Cwiklinski Date: Sat, 29 Sep 2012 10:23:09 +0200 Subject: Some adaptations required for Smarty3 --- smarty/templates/rpmphp/rpm.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'smarty/templates/rpmphp/rpm.tpl') diff --git a/smarty/templates/rpmphp/rpm.tpl b/smarty/templates/rpmphp/rpm.tpl index b2a4f50..9d8689c 100644 --- a/smarty/templates/rpmphp/rpm.tpl +++ b/smarty/templates/rpmphp/rpm.tpl @@ -74,7 +74,7 @@ {$p.name} - {if $p.channel} + {if isset($p.channel)}
channel: {$p.channel} {/if} @@ -87,10 +87,10 @@ {/foreach} - {if $p.upstream_stable} + {if isset($p.upstream_stable)} {$p.upstream_stable} {/if} - {if $p.upstream_unstable} + {if isset($p.upstream_unstable)}
{$p.upstream_unstable} {/if} -- cgit