fixed typo
authorFabien Potencier <fabien.potencier@gmail.com>
Sun, 19 Dec 2010 10:43:03 +0000 (11:43 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Sun, 19 Dec 2010 10:43:24 +0000 (11:43 +0100)
lib/Twig/Sandbox/SecurityPolicy.php

index 523fffc..567780b 100644 (file)
@@ -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;
         }