mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-30 12:18:43 +09:00
Fix undefined birthday access in admin client update (#3549)
Fix birthday key guard in admin client update
This commit is contained in:
1 parent
a25f542ba2
commit
fb5863f7b1
1 file changed
+1
-1
@@ -247,7 +247,7 @@ class Admin extends \Api_Abstract
|
||||
$this->di['validator']->isBirthdayValid($data['birthday']);
|
||||
}
|
||||
|
||||
if($data['birthday'] === ""){
|
||||
if (($data['birthday'] ?? null) === '') {
|
||||
unset($data['birthday']);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user