浏览代码

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()
     {
-        return $this->current()->get('id');
+        return $this->current()->getVar('id');
     }
 
     /**