From b83663e0f288ab839a7479d097cb9fe2feeac09c Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Mon, 15 Mar 2004 20:16:59 +0000 Subject: Keep BC of pg_fetch_object --- ext/pgsql/tests/22pg_fetch_object.phpt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/pgsql/tests') diff --git a/ext/pgsql/tests/22pg_fetch_object.phpt b/ext/pgsql/tests/22pg_fetch_object.phpt index d0b406d879..4f2f5dc184 100755 --- a/ext/pgsql/tests/22pg_fetch_object.phpt +++ b/ext/pgsql/tests/22pg_fetch_object.phpt @@ -1,5 +1,5 @@ --TEST-- -PostgreSQL pg_fetch_*() functions +PostgreSQL pg_fetch_object() --SKIPIF-- --FILE-- @@ -20,7 +20,7 @@ $sql = "SELECT * FROM $table_name"; $result = pg_query($db, $sql) or die('Cannot qeury db'); $rows = pg_num_rows($result); -var_dump(pg_fetch_object($result, 'test_class', array(1, 2))); +var_dump(pg_fetch_object($result, NULL, 'test_class', array(1, 2))); echo "Ok\n"; ?> -- cgit v1.2.1