Closed Tam closed 6 years ago
A fix for ethercreative/simplemap#84.
Calling \Craft::$app->user->identity loads up a bunch of stuff which can cause issues if plugins are loaded in a certain order. Moving the check to within the event handler fixes this issue.
\Craft::$app->user->identity
thnx
A fix for ethercreative/simplemap#84.
Calling
\Craft::$app->user->identity
loads up a bunch of stuff which can cause issues if plugins are loaded in a certain order. Moving the check to within the event handler fixes this issue.