We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If no location is set the JSONtoChunk Snippet crashed while trying to convert JSON to array. Possible fix can be a guardian. Tested modification:
if (!$input) return "null"; $array = $modx->fromJSON($input); if (count($array) > 0) { $chunk = $modx->getObject('modChunk', array('name' => $options)); if ($chunk) { $output = $chunk->process($array); } } return $output;
The text was updated successfully, but these errors were encountered:
Fix bug Sterc#32 от php 8.
934131f
Small fix bug on php 8. Sterc#32
No branches or pull requests
If no location is set the JSONtoChunk Snippet crashed while trying to convert JSON to array.
Possible fix can be a guardian. Tested modification:
The text was updated successfully, but these errors were encountered: