]> granicus.if.org Git - php/commitdiff
MFH: Fix by (mathieu dot bruneau at argontechnologies dot ca)
authorMarcus Boerger <helly@php.net>
Fri, 27 Aug 2004 20:39:17 +0000 (20:39 +0000)
committerMarcus Boerger <helly@php.net>
Fri, 27 Aug 2004 20:39:17 +0000 (20:39 +0000)
ext/spl/examples/dbareader.inc

index cd27ad7baa8c397c62da9509402e6eb696a41da1..bc3ee83a3003250f29e48095c240699a28978346 100755 (executable)
@@ -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();
        }
 
     /**