Browse Source

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

Christian Raue 14 năm trước cách đây
mục cha
commit
1b4caf77ba
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Admin/BaseFieldDescription.php

+ 1 - 1
Admin/BaseFieldDescription.php

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