From: Alexander Ebert Date: Thu, 18 Aug 2011 19:41:27 +0000 (+0200) Subject: Fixed a few errors caused by pull request #112 X-Git-Tag: 2.0.0_Beta_1~1849^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2189403d25b2d21f497cf201f30c3cac1c8fc1e8;p=GitHub%2FWoltLab%2FWCF.git Fixed a few errors caused by pull request #112 --- diff --git a/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php b/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php index 6604c11f2b..8f680d9bb2 100644 --- a/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php +++ b/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php @@ -1,6 +1,7 @@ execute($templateName, $string, $this); } else { - throw new SystemException($this->formatSyntaxError("Prefilter '".$prefilter."' does not implement the interface 'IPrefilterTemplatePlugin'", $this->currentIdentifier)); + throw new SystemException($this->formatSyntaxError("Prefilter '".(is_object($prefilter) ? get_class($prefilter) : $prefilter)."' does not implement the interface 'IPrefilterTemplatePlugin'", $this->currentIdentifier)); } } diff --git a/wcfsetup/install/files/lib/system/template/plugin/IBlockTemplatePlugin.class.php b/wcfsetup/install/files/lib/system/template/plugin/IBlockTemplatePlugin.class.php index ed0da0fa36..357ec2d60b 100644 --- a/wcfsetup/install/files/lib/system/template/plugin/IBlockTemplatePlugin.class.php +++ b/wcfsetup/install/files/lib/system/template/plugin/IBlockTemplatePlugin.class.php @@ -1,5 +1,6 @@