瀏覽代碼

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,