1
0
Fork 0
mirror of synced 2024-07-09 08:27:01 +12:00
This commit is contained in:
Damodar Lohani 2024-05-06 06:48:19 +00:00
parent 7b6e527b27
commit 53547f8677

View file

@ -34,7 +34,7 @@ class Event extends Validator
public function isValid($value): bool public function isValid($value): bool
{ {
$events = Config::getParam('events', []); $events = Config::getParam('events', []);
$parts = \explode('.', $value); $parts = \explode('.', $value ?? '');
$count = \count($parts); $count = \count($parts);
if ($count < 2 || $count > 7) { if ($count < 2 || $count > 7) {