Update existing.php (#64)

This commit was merged in pull request #64.
This commit is contained in:
Alexander Davis
2020-08-10 16:37:06 +01:00
committed by GitHub
parent 25141a2090
commit 2c809f16ab

View File

@@ -6,15 +6,6 @@
$closed_requests = get_my_closed_requests($db);
$subscriptions = get_subscribed_requests($db);
$open_requests = get_my_open_requests($db);
foreach($requests as $req) {
if ($req['status'] != "Closed") {
array_push($open_requests, $req);
} elseif ($req['status'] == "Closed") {
array_push($closed_requests, $req);
}
}
}
?>