From 1fea87286e56ca519c3a89061e1693ab9881a3d1 Mon Sep 17 00:00:00 2001 From: spitfire305 Date: Mon, 15 Jul 2024 17:14:36 +0000 Subject: [PATCH] Fix styling --- app/Http/Controllers/Settings/SubscriptionController.php | 6 +++--- app/Policies/CampaignPolicy.php | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) 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 {