diff --git a/src/Criterion.php b/src/Criterion.php index c3309e6..c898918 100644 --- a/src/Criterion.php +++ b/src/Criterion.php @@ -90,7 +90,7 @@ public function toScript() "this.findHolder('%s').evaluate%s('%s')", $this->master, $this->operator, - addslashes($this->value) + addslashes($this->value ?? '') ); } }