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 24, 2024
1 parent 6833bc8 commit ecd8834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/ui/Rearranger.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function searchInside ($subarray, $goal) {
if (gettype($element) == 'string' && $element == $goal) {
echo "Array: " . print_r($subarray, false) . "\n";
echo "Found " . $element . " at key: ". $key . "\n";
return $key;
return $subarray;
}
}
return -1;
Expand Down

0 comments on commit ecd8834

Please sign in to comment.