Explorar o código

added camelization to getValue() again which got accidentally removed by last change

Christian Raue %!s(int64=14) %!d(string=hai) anos
pai
achega
1b4caf77ba
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Admin/BaseFieldDescription.php

+ 1 - 1
Admin/BaseFieldDescription.php

@@ -328,7 +328,7 @@ abstract class BaseFieldDescription implements FieldDescriptionInterface
      */
     public function getValue($object)
     {
-        $camelizedFieldName = $this->getFieldName();
+        $camelizedFieldName = self::camelize($this->getFieldName());
         $getters = array(
             'get'.$camelizedFieldName,
             'is'.$camelizedFieldName,