]> git.andy128k.dev Git - ipf-template.git/commitdiff
fix typo
authorAndrey Kutejko <andy128k@gmail.com>
Tue, 30 Jul 2013 22:57:26 +0000 (01:57 +0300)
committerAndrey Kutejko <andy128k@gmail.com>
Tue, 30 Jul 2013 22:57:26 +0000 (01:57 +0300)
lib/compiler.php

index 003e1c2f1241654999c0568a33f62eb3858d73a7..bc164503f9159282dfded00b3c1d17b95ea08b72 100644 (file)
@@ -187,7 +187,7 @@ class IPF_Template_Compiler
                 return '';
             }
 
-            if ($this->environment->hasModifier($m[1])) {
+            if (!$this->environment->hasModifier($m[1])) {
                 trigger_error(sprintf('Unknown modifier: (%s) %s', $expr, $m[1]), E_USER_ERROR);
                 return '';
             }