Closed ameotoko closed 2 years ago
This gives a Warning: Attempt to read property "id" on null, because $dc is null in frontend:
Warning: Attempt to read property "id" on null
$dc
null
https://github.com/terminal42/contao-mailusername/blob/10e8026e5363cd78c95cee54018fb6bf168d1dad/src/EventListener/MailUsernameListener.php#L58-L62
fixed in 426aa78d23f36cf1d57c49a4f1c5cabb18171669
This gives a
Warning: Attempt to read property "id" on null
, because$dc
isnull
in frontend:https://github.com/terminal42/contao-mailusername/blob/10e8026e5363cd78c95cee54018fb6bf168d1dad/src/EventListener/MailUsernameListener.php#L58-L62