Commit dcad9485 authored by metzlerd's avatar metzlerd
Browse files

Fixed bug in evaluating ! position.

parent a898b39e
......@@ -203,7 +203,7 @@ class FrxSyntaxEngine {
if ($tests) foreach ($tests as $test) {
$t = trim($test);
$res = $this->replace($t, TRUE);
$res = (trim($res)) ? TRUE : FALSE;
$res = (trim($res,' !')) ? TRUE : FALSE;
if (strpos($t, '!')===0) $res = !$res;
$eval = $eval && $res;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment