[geeklog-cvs] geeklog: fixed pg_fetch_array
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Tue Jan 26 15:53:26 EST 2010
changeset 7619:fe4a60bd8e0f
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/fe4a60bd8e0f
user: stan <yankees26an at gmail.com>
date: Fri Jun 19 20:10:53 2009 -0400
description:
fixed pg_fetch_array
diffstat:
system/databases/pgsql.class.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (15 lines):
diff -r 1c0ea36804ac -r fe4a60bd8e0f system/databases/pgsql.class.php
--- a/system/databases/pgsql.class.php Sat Jun 13 23:12:39 2009 -0400
+++ b/system/databases/pgsql.class.php Fri Jun 19 20:10:53 2009 -0400
@@ -249,9 +249,9 @@
if ($both) {
$result_type = PGSQL_BOTH;
} else {
- $result_type = PGSQL_ASSOC;
+ $result_type = PGSQL_ASSOC;
}
- return @pg_fetch_array($recordset, $result_type);
+ return pg_fetch_array($recordset, NULL, $result_type);
}
/**
More information about the geeklog-cvs
mailing list