mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
fix null
This commit is contained in:
1 parent
7b6e527b27
commit
53547f8677
1 file changed
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user