diff --git a/app/Http/Controllers/Settings/SubscriptionController.php b/app/Http/Controllers/Settings/SubscriptionController.php index dbf21590df..eea7fc8f24 100644 --- a/app/Http/Controllers/Settings/SubscriptionController.php +++ b/app/Http/Controllers/Settings/SubscriptionController.php @@ -198,11 +198,11 @@ public function subscribe(UserSubscribeStore $request, Tier $tier) return redirect() ->route('settings.subscription') ->with('error_raw', __('subscription.errors.invalid_currency', [ - 'old' => strtoupper($currencies[1][0]), - 'new' => strtoupper($currencies[1][1]), + 'old' => mb_strtoupper($currencies[1][0]), + 'new' => mb_strtoupper($currencies[1][1]), 'email' => '' . config('app.email') . '' ])) - ; + ; } // Error? json return response()->json([ diff --git a/app/Policies/CampaignPolicy.php b/app/Policies/CampaignPolicy.php index 1c3a2937bc..b752ec9aa0 100644 --- a/app/Policies/CampaignPolicy.php +++ b/app/Policies/CampaignPolicy.php @@ -205,7 +205,6 @@ public function members(?User $user, Campaign $campaign): bool /** * Permission to view the campaign submissions - * @return bool */ public function submissions(?User $user): bool {