From 71d7d50bf9deb477a1516fa055ea50ca886e6888 Mon Sep 17 00:00:00 2001 From: Francesco Tassi Date: Mon, 15 Jul 2013 16:26:07 +0200 Subject: [PATCH] Remove undefined variable usage --- lib/Twig/Environment.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/Twig/Environment.php b/lib/Twig/Environment.php index 135d8d0..c4f82bf 100644 --- a/lib/Twig/Environment.php +++ b/lib/Twig/Environment.php @@ -728,7 +728,7 @@ class Twig_Environment public function addNodeVisitor(Twig_NodeVisitorInterface $visitor) { if ($this->extensionInitialized) { - throw new LogicException('Unable to add a node visitor as extensions have already been initialized.', $extension->getName()); + throw new LogicException('Unable to add a node visitor as extensions have already been initialized.'); } $this->staging->addNodeVisitor($visitor); -- 1.7.2.5