ソースを参照

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');
     }
     }
 
 
     /**
     /**