mirror of
https://github.com/gantry/gantry5.git
synced 2026-08-18 17:04:53 -05:00
[PHP8.1][PHP8.2] Bugfixes (Image Picker)
This commit is contained in:
@@ -222,7 +222,7 @@ class TwigExtension extends AbstractExtension implements GlobalsInterface
|
||||
*/
|
||||
public function jsonDecodeFilter($str, $assoc = false, $depth = 512, $options = 0)
|
||||
{
|
||||
return json_decode(html_entity_decode($str), $assoc, $depth, $options);
|
||||
return json_decode(html_entity_decode($str ?? ''), $assoc, $depth, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user