From 08b86b102bb467142e32e535b529fe2f2dcb91c2 Mon Sep 17 00:00:00 2001 From: Ian <aristophian@googlemail.com> Date: Mon, 4 Aug 2014 15:01:43 +0200 Subject: [PATCH] fix plugins no updates' message check References #200 there is more. --- templates/2k11/admin/plugins.inc.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/2k11/admin/plugins.inc.tpl b/templates/2k11/admin/plugins.inc.tpl index 5661ced0..66d2ddc1 100644 --- a/templates/2k11/admin/plugins.inc.tpl +++ b/templates/2k11/admin/plugins.inc.tpl @@ -75,7 +75,7 @@ {foreach $pluggroups AS $pluggroup => $groupstack} {if empty($pluggroup)} - {if $only_group == UPGRADE}<span class="msg_notice"><span class="icon-attention-circled"></span> {$CONST.NO_UPDATES}</span>{/if} + {if $only_group == UPGRADE && empty($groupstack)}<span class="msg_notice"><span class="icon-attention-circled"></span> {$CONST.NO_UPDATES}</span>{/if} {if !empty($only_group)}{continue}{/if} {elseif !empty($only_group) && $pluggroup != $only_group}{continue}{else} <h3>{foreach $groupnames as $available_group => $available_name}{if $pluggroup == $available_group}{$available_name}{/if}{/foreach}</h3>