fireStations - fix złośliwej literówki
This commit is contained in:
parent
5f139cd425
commit
30b0880f93
@ -24,7 +24,7 @@ class fireStationController extends Controller
|
|||||||
if(auth()->user() != null && auth()->user()->fireStationID != null )
|
if(auth()->user() != null && auth()->user()->fireStationID != null )
|
||||||
{
|
{
|
||||||
$id = auth()->user()->fireStationID;
|
$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");
|
$voivodeships = DB::table('wojewodztwa')->pluck("name","id");
|
||||||
return view('fireStationEdit', ["fireStation" => $fireStation], compact('voivodeships'));
|
return view('fireStationEdit', ["fireStation" => $fireStation], compact('voivodeships'));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user