Commit 25784b3d authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Add fallback to empty string if email is null

parent 200412c5
Pipeline #13455 passed with stages
in 4 minutes and 37 seconds
...@@ -94,6 +94,7 @@ class FetchMembersCommand extends Command ...@@ -94,6 +94,7 @@ class FetchMembersCommand extends Command
$data['tstamp'] = time(); $data['tstamp'] = time();
$data['crdate'] = time(); $data['crdate'] = time();
$data['membership'] = $this->getMembershipId($data['membership']); $data['membership'] = $this->getMembershipId($data['membership']);
$data['email'] = $data['email'] ?? '';
unset($data['votingEmail']); unset($data['votingEmail']);
unset($data['identifier']); unset($data['identifier']);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment