changed whereColumn to where()

This commit is contained in:
2018-10-30 01:26:21 -05:00
parent 22c2bba282
commit a568730d80

View File

@@ -108,8 +108,8 @@ class MoonsController extends Controller
$date = strtotime($request->date . '00:00:01');
//Update the database entry
DB::table('Moons')
->whereColumn([
['System=' . $request->system],
->where([
['System', '=', $request->system],
['Planet', '=', $request->planet],
['Moon', '=', $request->moon]
])