浏览代码

BC break fix. get for forms is now getVar

Thanos Polymeneas 13 年之前
父节点
当前提交
856b669612
共有 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');
     }
 
     /**