Skip to content

Commit

Permalink
Merge pull request #38 from digitalutsc/duplicate-fix
Browse files Browse the repository at this point in the history
Fixed duplicate entries in the bound and unbound tables
  • Loading branch information
kylehuynh205 authored Jun 6, 2024
2 parents 0af91e1 + 225740d commit 9ddd7af
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions admin/rest.php
Original file line number Diff line number Diff line change
Expand Up @@ -477,10 +477,6 @@ function selectUnBound()

array_push($result, $r);
}

if (!empty($r)) {
array_push($result, $r);
}

return json_encode(array(
"data" => $result,
Expand Down Expand Up @@ -572,10 +568,6 @@ function selectBound()

array_push($result, $r);
}

if (!empty($r)) {
array_push($result, $r);
}

return json_encode(array(
"data" => $result,
Expand Down

0 comments on commit 9ddd7af

Please sign in to comment.