Skip to content

Commit

Permalink
Bugfix rollback WireData handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Schendel committed Oct 4, 2024
1 parent 16f4ad7 commit a902721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AppApi.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ public static function getAjaxOf($content) {
$output[] = self::getAjaxOf($item);
}
} elseif ($content instanceof WireData) {
$output = self::getAjaxOf($content->getArray());
$output = $content->getArray();
} elseif (is_array($content)) {
foreach ($content as $key => $value) {
$output[$key] = self::getAjaxOf($value);
Expand Down

0 comments on commit a902721

Please sign in to comment.