1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/quizzes_ynh.git synced 2024-09-03 20:16:11 +02:00

Create app-array_key_exists.patch

This commit is contained in:
yalh76 2022-09-05 03:00:46 +02:00
parent f9b75a3199
commit 2d882cd3c6

View file

@ -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;
}