Skip to content

Commit 945db3c

Browse files
committed
Merge branch 'PHP-8.2'
* PHP-8.2: Fix ZPP of pg_lo_export()
2 parents 7b4b40f + a2d90aa commit 945db3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pgsql/pgsql.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2633,7 +2633,7 @@ PHP_FUNCTION(pg_lo_export)
26332633

26342634
/* allow string to handle large OID value correctly */
26352635
if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(),
2636-
"rlP", &pgsql_link, pgsql_link_ce, &oid_long, &file_out) == SUCCESS) {
2636+
"OlP", &pgsql_link, pgsql_link_ce, &oid_long, &file_out) == SUCCESS) {
26372637
if (oid_long <= (zend_long)InvalidOid) {
26382638
zend_value_error("Invalid OID value passed");
26392639
RETURN_THROWS();

0 commit comments

Comments
 (0)