From 711f92fcc83deff50e489492085658675f873fe3 Mon Sep 17 00:00:00 2001 From: Matt Agar Date: Tue, 5 Oct 2010 09:58:35 +1100 Subject: [PATCH] Fixed PHP 5.3 namespace dependency (Issues a warning in PHP 5.2). --- lib/Twig/Template.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/Twig/Template.php b/lib/Twig/Template.php index 2cc752d..8e5abe0 100644 --- a/lib/Twig/Template.php +++ b/lib/Twig/Template.php @@ -37,7 +37,7 @@ abstract class Twig_Template implements Twig_TemplateInterface if (false !== $parent = $this->getParent($context)) { return $parent->getBlock($name, $context, $blocks); } else { - throw new \LogicException('This template has no parent.'); + throw new LogicException('This template has no parent.'); } } -- 1.7.2.5