From eae2cdf345a82eda81d051aed11000564823428c Mon Sep 17 00:00:00 2001 From: Ludovic CANDELLIER Date: Sun, 3 Jul 2022 10:48:42 +0200 Subject: [PATCH] fix on array --- app/Http/Controllers/Auth/ResetPasswordController.php | 3 ++- app/Http/Controllers/Shop/SearchController.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/Auth/ResetPasswordController.php b/app/Http/Controllers/Auth/ResetPasswordController.php index c59c873a..a429bdec 100644 --- a/app/Http/Controllers/Auth/ResetPasswordController.php +++ b/app/Http/Controllers/Auth/ResetPasswordController.php @@ -40,7 +40,8 @@ class ResetPasswordController extends Controller public function showResetForm(Request $request, $token = null) { - $data = \App\Repositories\Config::init(); + dump('ici'); + exit; $data['token'] = $token; $data['email'] = $request->email; return view('auth.passwords.reset', $data); diff --git a/app/Http/Controllers/Shop/SearchController.php b/app/Http/Controllers/Shop/SearchController.php index e05a7375..48086635 100644 --- a/app/Http/Controllers/Shop/SearchController.php +++ b/app/Http/Controllers/Shop/SearchController.php @@ -12,9 +12,9 @@ class SearchController extends Controller public function search(Request $request) { $data = [ - 'articles'] => Searches::getResults($request->input()), + 'articles' => Searches::getResults($request->input()), 'articles_count' => $data['articles'] ? count($data['articles']) : 0, - 'search' = $request->input(), + 'search' => $request->input(), 'product_type' => $request->input('product_type'), ]; return view('Shop.Search.results', $data);