Fixed error message
authorMarcel Werk <burntime@woltlab.com>
Wed, 12 Oct 2011 19:41:37 +0000 (21:41 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 12 Oct 2011 19:41:37 +0000 (21:41 +0200)
wcfsetup/install/files/lib/system/template/plugin/LinkBlockTemplatePlugin.class.php

index 8d1c9751da12d7dbeb0c9961d6fa2916f7b866d2..e4c5e95c5b8a163b963d4a2b839f4c10b1d00bc0 100644 (file)
@@ -29,7 +29,7 @@ class LinkBlockTemplatePlugin implements IBlockTemplatePlugin {
         * @see wcf\system\template\IBlockTemplatePlugin::execute()
         */
        public function execute($tagArgs, $blockContent, TemplateEngine $tplObj) {
-               if (!isset($tagArgs['controller'])) throw new SystemException("missing 'controller' argument in pages tag");
+               if (!isset($tagArgs['controller'])) throw new SystemException("missing 'controller' argument in link tag");
                if (!isset($tagArgs['application']) || empty($tagArgs['application'])) {
                        $tagArgs['application'] = 'wcf';
                }