diff --git a/app/Http/Controllers/EndorsementController.php b/app/Http/Controllers/EndorsementController.php index a8b3ae579..b7b857e80 100644 --- a/app/Http/Controllers/EndorsementController.php +++ b/app/Http/Controllers/EndorsementController.php @@ -189,7 +189,7 @@ public function store(Request $request) $linkedToTraining = false; } - // Validate that this user has other endrosement of this type from before + // Validate that this user has other endorsements of this type from before if ($user->hasActiveEndorsement('SOLO')) { return back()->withInput()->withErrors($user->name . ' has already an active solo endorsement. Revoke it first, to create a new one.'); } diff --git a/resources/views/user/show.blade.php b/resources/views/user/show.blade.php index f68c59e0f..acb78c7ab 100644 --- a/resources/views/user/show.blade.php +++ b/resources/views/user/show.blade.php @@ -280,7 +280,7 @@
@if($endorsements->count() == 0) -

No registered endrosements

+

No registered endorsements

@endif @foreach($endorsements as $endorsement)