This commit is contained in:
2019-08-06 12:37:56 -05:00
parent 26f5f854be
commit 02e7f738fc

View File

@@ -114,8 +114,8 @@ class DashboardController extends Controller
])->get()->toArray(); ])->get()->toArray();
//Add the alt's open requests to the open requests array //Add the alt's open requests to the open requests array
foreach($altOpen as $alt) { foreach($altOpen as $aOpen) {
array_push($open, $alt); array_push($open, $aOpen);
} }
} }
@@ -134,8 +134,8 @@ class DashboardController extends Controller
])->take(5)->get()->toArray(); ])->take(5)->get()->toArray();
//For each alt add it to the array //For each alt add it to the array
foreach($altApproved as $alt) { foreach($altApproved as $aApproved) {
array_push($approved, $alt); array_push($approved, $aApproved);
} }
} }
@@ -154,8 +154,8 @@ class DashboardController extends Controller
])->take(5)->get()->toArray(); ])->take(5)->get()->toArray();
//For each alt's denied request add it to the array //For each alt's denied request add it to the array
foreach($altDenied as $alt) { foreach($altDenied as $aDenied) {
array_push($denied, $alt); array_push($denied, $aDenied);
} }
} }
} }