Browse Source

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

BC break fix. get for forms is now getVar
Thomas 13 năm trước cách đây
mục cha
commit
280ea9b212
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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');
     }
 
     /**