diff --git a/app/Jobs/User/CreateUser.php b/app/Jobs/User/CreateUser.php index 9ad0aa5ecf61..351af1ec0333 100644 --- a/app/Jobs/User/CreateUser.php +++ b/app/Jobs/User/CreateUser.php @@ -84,7 +84,7 @@ class CreateUser if(!Ninja::isSelfHost()){ nlog("in the create user class"); - event(new UserWasCreated($user, $user, $this->company, Ninja::eventVars(auth()->user()->id))); + event(new UserWasCreated($user, $user, $this->company, Ninja::eventVars(auth()->user() ? auth()->user()->id : null))); } return $user; diff --git a/resources/views/portal/ninja2020/subscriptions/switch.blade.php b/resources/views/portal/ninja2020/subscriptions/switch.blade.php index 3cb6b87c51da..dd688719103e 100644 --- a/resources/views/portal/ninja2020/subscriptions/switch.blade.php +++ b/resources/views/portal/ninja2020/subscriptions/switch.blade.php @@ -8,10 +8,10 @@
Placeholder text for plan notes, some text.
+ {{ ctrans('texts.current') }} +{{ $subscription->name }}
Placeholder text for plan notes, some text.
+ {{ ctrans('texts.change') }} +{{ $target->name }}