mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-29 16:36:07 +03:00
Check for name existence in parameters before checking
This commit is contained in:
parent
cc0809f9bc
commit
f64acb148b
@ -219,7 +219,7 @@ class Member extends HttpApi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (null === $parameters['name']) {
|
if (array_key_exists('name', $parameters) && null === $parameters['name']) {
|
||||||
unset($parameters['name']);
|
unset($parameters['name']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user