Open bauigel opened 1 month ago
The new check would only be false when $eventData['properties']['ep_disable_markup_' . $this->instance]
is not set at all. But it would evaluate to true when $eventData['properties']['ep_disable_markup_' . $this->instance]
is set, but set to false
.
The correct check should be:
(!isset($eventData['properties']['ep_disable_markup_' . $this->instance]) || !$eventData['properties']['ep_disable_markup_' . $this->instance]) &&
Better to test it though, it's too easy to mix expressions like that up :/
With current git-master I get an error
Fix seems to be easy, there is just an isset missing. I changed the line from
to