From 5c5e33ee12adf12625d47df489c3bf883552075c Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 19 Dec 2010 11:43:03 +0100 Subject: [PATCH] fixed typo --- lib/Twig/Sandbox/SecurityPolicy.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/Twig/Sandbox/SecurityPolicy.php b/lib/Twig/Sandbox/SecurityPolicy.php index 523fffc..567780b 100644 --- a/lib/Twig/Sandbox/SecurityPolicy.php +++ b/lib/Twig/Sandbox/SecurityPolicy.php @@ -67,7 +67,7 @@ class Twig_Sandbox_SecurityPolicy implements Twig_Sandbox_SecurityPolicyInterfac public function checkMethodAllowed($obj, $method) { - if ($obj instanceof Twig_Template) { + if ($obj instanceof Twig_TemplateInterface) { return true; } -- 1.7.2.5