[+BUGFIX] Extbase (Reflection): Follow-up to r3854.
authorJochen Rau <j.rau@web.de>
Tue, 18 Jan 2011 13:44:06 +0000 (13:44 +0000)
committerJochen Rau <j.rau@web.de>
Tue, 18 Jan 2011 13:44:06 +0000 (13:44 +0000)
Related to #10148.

typo3/sysext/extbase/Classes/Reflection/ObjectAccess.php

index a5be3f9..d4861c5 100644 (file)
@@ -282,7 +282,7 @@ class Tx_Extbase_Reflection_ObjectAccess {
                        return TRUE;
                } elseif (array_search($propertyName, array_keys(get_class_vars(get_class($object)))) !== FALSE) {
                        return TRUE;
-               } elseif ($object instanceof \ArrayAccess && isset($object[$propertyName]) === TRUE) {
+               } elseif ($object instanceof ArrayAccess && isset($object[$propertyName]) === TRUE) {
                        return TRUE;
                }
                if (is_callable(array($object, 'get' . ucfirst($propertyName)))) return TRUE;