Jelajahi Sumber

BC break fix. get for forms is now getVar

Thanos Polymeneas 13 tahun lalu
induk
melakukan
856b669612
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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');
     }
 
     /**