소스 검색

Fixed deprecated method usage in HelperController

Stepan Anchugov 11 년 전
부모
커밋
52a6f10ec8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Controller/HelperController.php

+ 1 - 1
Controller/HelperController.php

@@ -252,7 +252,7 @@ class HelperController
             return new JsonResponse(array('status' => 'KO', 'message' => 'The field cannot be edit, editable option must be set to true'));
         }
 
-        $propertyAccessor = PropertyAccess::getPropertyAccessor();
+        $propertyAccessor = PropertyAccess::createPropertyAccessor();
         $propertyPath     = new PropertyPath($field);
 
         // If property path has more than 1 element, take the last object in order to validate it