diff --git a/fp-plugins/commentcenter/tpls/editpol.tpl b/fp-plugins/commentcenter/tpls/editpol.tpl index ed2dff5..be4ff38 100644 --- a/fp-plugins/commentcenter/tpls/editpol.tpl +++ b/fp-plugins/commentcenter/tpls/editpol.tpl @@ -4,19 +4,19 @@
{$plang.se_desc|sprintf:"`$plang.some_entries`"}
{$plang.se_fill}
-{if !empty($policy.entry) && !is_array($policy.entry)} +{if isset($policy.entry) && !empty($policy.entry) && !is_array($policy.entry)} {assign var="parity" value=1} -{elseif !empty($policy.entry)} +{elseif isset($policy.entry) && !empty($policy.entry)} {foreach name=entries_foreach from=$policy.entry item=entry} {if ($smarty.foreach.entries_foreach.iteration % 2)==0}