summaryrefslogtreecommitdiffstats
path: root/smarty/templates/rpmphp/rpm.tpl
diff options
context:
space:
mode:
authorJohan Cwiklinski <johan@x-tnd.be>2012-09-29 10:23:09 +0200
committerRemi Collet <fedora@famillecollet.com>2012-09-29 10:30:40 +0200
commit5e3a1a62043cc4602f5fc4fb871d09da65b5a277 (patch)
tree6cf5eeb2270f3ff3107a094b172e61e131656fd9 /smarty/templates/rpmphp/rpm.tpl
parent44bc0673599b56977f97370976d92f5d05ca720e (diff)
Some adaptations required for Smarty3
Diffstat (limited to 'smarty/templates/rpmphp/rpm.tpl')
-rw-r--r--smarty/templates/rpmphp/rpm.tpl6
1 files changed, 3 insertions, 3 deletions
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 @@
<tr class="{if $smarty.foreach.plist.iteration % 2 eq 0}even{else}odd{/if}">
<td>
{$p.name}
- {if $p.channel}
+ {if isset($p.channel)}
<br/><small>channel: {$p.channel}</small>
{/if}
</td>
@@ -87,10 +87,10 @@
{/foreach}
</td>
<td>
- {if $p.upstream_stable}
+ {if isset($p.upstream_stable)}
<strong>{$p.upstream_stable}</strong>
{/if}
- {if $p.upstream_unstable}
+ {if isset($p.upstream_unstable)}
<br/>{$p.upstream_unstable}
{/if}
</td>