From: Andrey Kutejko Date: Tue, 30 Jul 2013 22:57:26 +0000 (+0300) Subject: fix typo X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=1b527844fb55d7c2cae82ec0b2757adbc81c04d0;p=ipf-template.git fix typo --- diff --git a/lib/compiler.php b/lib/compiler.php index 003e1c2..bc16450 100644 --- a/lib/compiler.php +++ b/lib/compiler.php @@ -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 ''; }