소스 검색

Merge pull request #825 from thanosp/formViewIterator-bc-break-fix

BC break fix. get for forms is now getVar
Thomas 13 년 전
부모
커밋
280ea9b212
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Util/FormViewIterator.php

+ 1 - 1
Util/FormViewIterator.php

@@ -61,7 +61,7 @@ class FormViewIterator implements \RecursiveIterator
      */
      */
     public function key()
     public function key()
     {
     {
-        return $this->current()->get('id');
+        return $this->current()->getVar('id');
     }
     }
 
 
     /**
     /**