diff --git a/sources/patches/app-array_key_exists.patch b/sources/patches/app-array_key_exists.patch new file mode 100644 index 0000000..c69b85b --- /dev/null +++ b/sources/patches/app-array_key_exists.patch @@ -0,0 +1,11 @@ +--- a/vendor/twig/twig/lib/Twig/Template.php 2022-09-05 02:54:39.800617851 +0200 ++++ a/vendor/twig/twig/lib/Twig/Template.php 2022-09-05 03:54:48.000000000 +0200 +@@ -387,7 +387,7 @@ + + // object property + if (Twig_TemplateInterface::METHOD_CALL !== $type) { +- if (isset($object->$item) || array_key_exists((string) $item, $object)) { ++ if (isset($object->$item)) { + if ($isDefinedTest) { + return true; + }