Skip to content

Commit

Permalink
Merge pull request ezsystems#1098 from crevillo/EZP-23332.2
Browse files Browse the repository at this point in the history
Fix EZP-23332: Avoid warning in LegacyEngine Templating (take 2)
  • Loading branch information
lolautruche committed Nov 21, 2014
2 parents 1a0936b + b46e120 commit 9c66ab5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions eZ/Publish/Core/MVC/Legacy/Templating/LegacyEngine.php
Expand Up @@ -135,10 +135,7 @@ function () use ( $name )
*/
public function supports( $name )
{
if ( $name instanceof TemplateReference )
{
$name = $name->getLogicalName();
}
$name = (string)$name;

if ( isset( $this->supportedTemplates[$name] ) )
{
Expand Down

0 comments on commit 9c66ab5

Please sign in to comment.