1
0
Fork 0
mirror of synced 2024-07-05 22:51:24 +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
{
$events = Config::getParam('events', []);
$parts = \explode('.', $value);
$parts = \explode('.', $value ?? '');
$count = \count($parts);
if ($count < 2 || $count > 7) {