Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.3] Ajax component support of Stringable results #43530

Merged
merged 12 commits into from
Oct 17, 2024
Prev Previous commit
Next Next commit
Update components/com_ajax/ajax.php
Co-authored-by: Brian Teeman <brian@teeman.net>
  • Loading branch information
Fedik and brianteeman authored May 25, 2024
commit 66f35b7956067b5a31978a21f4948b07a1ad28ee
2 changes: 1 addition & 1 deletion components/com_ajax/ajax.php
Original file line number Diff line number Diff line change
@@ -208,7 +208,7 @@
if (!($results instanceof Throwable) && $results instanceof Stringable) {
echo $results;
} else {
// JSONinzed
// JSONized
echo new JsonResponse($results, null, false, $input->get('ignoreMessages', true, 'bool'));
}