Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12438 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12944 invoked by uid 1010); 27 Aug 2004 20:33:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 12920 invoked from network); 27 Aug 2004 20:33:34 -0000 Received: from unknown (HELO rounoff.darktech.org) (66.11.160.117) by pb1.pair.com with SMTP; 27 Aug 2004 20:33:34 -0000 Received: from outoforder.argon.net ([10.10.10.5]) by rounoff.darktech.org with esmtp (Exim 3.35 #1 (Debian)) id 1C0nPi-0007w2-00 for ; Fri, 27 Aug 2004 16:33:34 -0400 Message-ID: <412F9A9B.9010303@argontechnologies.ca> Date: Fri, 27 Aug 2004 16:33:31 -0400 User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en MIME-Version: 1.0 To: internals@lists.php.net X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [PATCH] ext/spl/examples/dbareader.inc From: mathieu.bruneau@argontechnologies.ca (Mathieu Bruneau) This patches fixes a simple error in the dbareader.inc files. Enjoy -- Math aka ROunofF ====== argontechnologies.ca Index: dbareader.inc =================================================================== RCS file: /repository/php-src/ext/spl/examples/dbareader.inc,v retrieving revision 1.3 diff -u -h -r1.3 dbareader.inc --- dbareader.inc 28 Jul 2004 22:52:11 -0000 1.3 +++ dbareader.inc 27 Aug 2004 20:26:59 -0000 @@ -45,7 +45,7 @@ */ function rewind() { $this->key = dba_firstkey($this->db); - fetch_data(); + $this->fetch_data(); } /** @@ -55,7 +55,7 @@ */ function next() { $this->key = dba_nextkey($this->db); - fetch_data(); + $this->fetch_data(); } /** @@ -93,4 +93,4 @@ } } -?> \ No newline at end of file +?>