Skip to content

Commit

Permalink
RC v1.5-beta compatibility
Browse files Browse the repository at this point in the history
in RC 1.5-beta `$record` comes as `null` instead of `{ email: null }` and this breaks "Create Identity" screen. This fixes the issue.
  • Loading branch information
tborychowski authored Mar 1, 2021
1 parent b14e295 commit 411a334
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion identity_smtp.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ function loadSmtpSettings($args)
function identityFormWillBeDisplayed($args)
{
$form = $args['form'];
$record = $args['record'];
$record = isset($args['record']) ? $args['record'] : [];


// Load the stored smtp settings
$smtpSettingsRecord = $this->loadSmtpSettings($record);
Expand Down

0 comments on commit 411a334

Please sign in to comment.