From: Francesco Tassi Date: Mon, 15 Jul 2013 14:26:07 +0000 (+0200) Subject: Remove undefined variable usage X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=71d7d50bf9deb477a1516fa055ea50ca886e6888;p=konrad%2Ftwig.git Remove undefined variable usage --- 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);