Skip to content

Commit

Permalink
Expermineting to drag results
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikBuetler committed Jun 18, 2024
1 parent f113239 commit 433787e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions api/ui/results.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,14 @@ public function get() {
if($e == $id) {
echo "found in e.\n";
}
foreach ($e as $ok) {
if (gettype($ok) == 'string') {
echo $ok;
}
if($ok == $id) {
echo "found in e.\n";
if (gettype($e)=='array') {
foreach ($e as $ok) {
if (gettype($ok) == 'string') {
echo $ok;
}
if ($ok == $id) {
echo "found in e.\n";
}
}
}
}
Expand Down

0 comments on commit 433787e

Please sign in to comment.