Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
spitfire305 authored and github-actions[bot] committed Nov 2, 2023
1 parent 00d195c commit 81a8829
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions app/Http/Controllers/Crud/CalendarController.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
use App\Models\Campaign;
use App\Sanitizers\CalendarSanitizer;
use App\Traits\TreeControllerTrait;
use App\Http\Requests\ValidateReminderLength;
use App\Services\LengthValidatorService;

class CalendarController extends CrudController
{
Expand Down
2 changes: 1 addition & 1 deletion app/Rules/Vanity.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Vanity implements ValidationRule
public function validate(string $attribute, mixed $value, Closure $fail): void
{
$value = trim($value);
if (strpos($value, '/')) {
if (mb_strpos($value, '/')) {
$fail(__('campaigns/vanity.rule2', ['field' => $attribute]));
}

Expand Down

0 comments on commit 81a8829

Please sign in to comment.