From: Kiv4h Date: Wed, 16 May 2012 21:18:43 +0000 (+0200) Subject: Fixing array access in template X-Git-Tag: 2.0.0_Beta_1~1101^2~6^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=29dc80615972929b599809d53c250dbb599a50a7;p=GitHub%2FWoltLab%2FWCF.git Fixing array access in template --- diff --git a/wcfsetup/install/files/acp/templates/packageUpdateSearchResult.tpl b/wcfsetup/install/files/acp/templates/packageUpdateSearchResult.tpl index e8bf486152..ddfeef1d79 100644 --- a/wcfsetup/install/files/acp/templates/packageUpdateSearchResult.tpl +++ b/wcfsetup/install/files/acp/templates/packageUpdateSearchResult.tpl @@ -16,38 +16,38 @@

- {if $package.isApplication == 1} + {if $package[isApplication] == 1} - {elseif $package.plugin != ''} + {elseif $package[plugin] != ''} {else} {/if} - {$package.packageName} + {$package[packageName]}

-
+
- + {foreach from=$package[packageVersions] item=$packageVersion} + {/foreach}