[+BUGFIX] Fluid: Fix CObjViewHelper
authorSebastian Kurfuerst <sebastian@typo3.org>
Sun, 19 Jun 2011 11:39:25 +0000 (13:39 +0200)
committerSebastian Kurfuerst <sebastian@typo3.org>
Sun, 19 Jun 2011 11:39:25 +0000 (13:39 +0200)
In I98184e96f76714835f02197d118681fdb85d5509 an error has been
introduced: instead of getGettablePropertyNames, getGettableProperties
should be called.

Change-Id: I5034bc9391ee1b43fe9b4db12f00a926e0cf3fa5
Fixes: #26138

typo3/sysext/fluid/Classes/ViewHelpers/CObjectViewHelper.php

index 9c914a2..b3fc968 100644 (file)
@@ -92,7 +92,7 @@ class Tx_Fluid_ViewHelpers_CObjectViewHelper extends Tx_Fluid_Core_ViewHelper_Ab
                }
                $currentValue = NULL;
                if (is_object($data)) {
-                       $data = Tx_Extbase_Reflection_ObjectAccess::getGettablePropertyNames($data);
+                       $data = Tx_Extbase_Reflection_ObjectAccess::getGettableProperties($data);
                } elseif (is_string($data) || is_numeric($data)) {
                        $currentValue = (string) $data;
                        $data = array($data);