ssb Mon Mar 12 01:33:21 2001 EDT
Modified files:
/php4/pear/DB common.php
Log:
* bugfix (thanks to Alexey Borzov)
Index: php4/pear/DB/common.php
diff -u php4/pear/DB/common.php:1.38 php4/pear/DB/common.php:1.39
--- php4/pear/DB/common.php:1.38 Mon Feb 19 04:22:25 2001
+++ php4/pear/DB/common.php Mon Mar 12 01:33:21 2001
@@ -721,7 +721,8 @@
}
} else {
// return scalar values
- while (($row = $this->fetchRow($res)) && !DB::isError($row)) {
+ while (($row = $this->fetchRow($res, DB_FETCHMODE_ORDERED)) &&
+ !DB::isError($row)) {
$results[$row[0]] = $row[1];
}
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]