Bugfix in packageView.tpl:
authorTr3kk3r <sebastian.teumert@gmx.de>
Tue, 30 Aug 2011 13:13:49 +0000 (15:13 +0200)
committerTr3kk3r <sebastian.teumert@gmx.de>
Tue, 30 Aug 2011 13:13:49 +0000 (15:13 +0200)
Fatal error: Call to undefined
method wcf\data\package\Package::parentPackage()

wcfsetup/install/files/acp/templates/packageView.tpl

index 2469e055541f3bf088aac9a623089ed23e473f47..3ba756fb15890d66339d516b8fe94d87923da3b1 100644 (file)
@@ -62,7 +62,7 @@
        {if $package->parentPackageID}
                <dl>
                        <dt>{lang}wcf.acp.package.view.parent{/lang}</dt>
-                       <dd><a href="index.php?page=PackageView&amp;packageID={@$package->parentPackageID}{@SID_ARG_2ND}">{$package->parentPackage()->getName()}</a></dd>
+                       <dd><a href="index.php?page=PackageView&amp;packageID={@$package->parentPackageID}{@SID_ARG_2ND}">{$package->getParentPackage()->getName()}</a></dd>
                </dl>
        {/if}
        <dl>