diff --git a/ext/spl/examples/dbareader.inc b/ext/spl/examples/dbareader.inc index cd27ad7baa8..bc3ee83a300 100755 --- a/ext/spl/examples/dbareader.inc +++ b/ext/spl/examples/dbareader.inc @@ -45,7 +45,7 @@ class DbaReader implements Iterator */ function rewind() { $this->key = dba_firstkey($this->db); - fetch_data(); + $this->fetch_data(); } /** @@ -55,7 +55,7 @@ class DbaReader implements Iterator */ function next() { $this->key = dba_nextkey($this->db); - fetch_data(); + $this->fetch_data(); } /**