Update RuleWatchNode.php

main
Thai Phan 10 years ago
parent 4ecdbf89c4
commit e6fdefb869

@ -54,7 +54,7 @@ class RuleWatchNode
$literals = $this->rule->getLiterals(); $literals = $this->rule->getLiterals();
// if there are only 2 elements, both are being watched anyway // if there are only 2 elements, both are being watched anyway
if ($literals < 3) { if (count($literals) < 3) {
return; return;
} }

Loading…
Cancel
Save