1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/quizzes_ynh.git synced 2024-09-03 20:16:11 +02:00
quizzes_ynh/sources/app-array_key_exists.patch
2022-09-05 03:18:17 +02:00

11 lines
495 B
Diff

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