summaryrefslogtreecommitdiffstats
path: root/smarty/templates/rpmphp/rpm.tpl
diff options
context:
space:
mode:
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>