From 30b0880f93d31f56f71b6120067e7f60f4934b9b Mon Sep 17 00:00:00 2001 From: Krzysztof Strzelecki Date: Mon, 30 Dec 2019 16:00:01 +0100 Subject: [PATCH] =?UTF-8?q?fireStations=20-=20fix=20z=C5=82o=C5=9Bliwej=20?= =?UTF-8?q?liter=C3=B3wki?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/fireStationController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/fireStationController.php b/app/Http/Controllers/fireStationController.php index cc5b8d2..817bd6a 100644 --- a/app/Http/Controllers/fireStationController.php +++ b/app/Http/Controllers/fireStationController.php @@ -24,7 +24,7 @@ class fireStationController extends Controller if(auth()->user() != null && auth()->user()->fireStationID != null ) { $id = auth()->user()->fireStationID; - $fireStation = DB::table('firestations')->where("id", $id)->first(); + $fireStation = DB::table('fireStations')->where("id", $id)->first(); $voivodeships = DB::table('wojewodztwa')->pluck("name","id"); return view('fireStationEdit', ["fireStation" => $fireStation], compact('voivodeships')); }