summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xext/spl/examples/dbareader.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/examples/dbareader.inc b/ext/spl/examples/dbareader.inc
index cd27ad7baa..bc3ee83a30 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();
}
/**