Browse Source

BC break fix. get for forms is now getVar

Thanos Polymeneas 13 năm trước cách đây
mục cha
commit
856b669612
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');
     }
 
     /**