moons controller
This commit is contained in:
@@ -37,10 +37,7 @@ class MoonsController extends Controller
|
|||||||
$systems = array();
|
$systems = array();
|
||||||
|
|
||||||
//Get all of the alliance moon systems from the database
|
//Get all of the alliance moon systems from the database
|
||||||
$systemsTemp = DB::table('alliance_moons')->select('System')->distinct()->get()->toArray();
|
$systems = DB::table('alliance_moons')->select('System')->distinct()->get();
|
||||||
foreach($systemsTemp as $key => $value) {
|
|
||||||
array_push($systems, $value);
|
|
||||||
}
|
|
||||||
|
|
||||||
dd($systems);
|
dd($systems);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user