فهرست منبع

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

Christian Raue 14 سال پیش
والد
کامیت
1b4caf77ba
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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,