diff --git a/library/Director/CustomVariable/CustomVariableNull.php b/library/Director/CustomVariable/CustomVariableNull.php index d1b28881..ad97ecbe 100644 --- a/library/Director/CustomVariable/CustomVariableNull.php +++ b/library/Director/CustomVariable/CustomVariableNull.php @@ -9,7 +9,7 @@ class CustomVariableNull extends CustomVariable { public function equals(CustomVariable $var) { - return $var->getValue() === $this->getValue(); + return $var instanceof CustomVariableNull; } public function getValue()