Skip to content

Commit c9a2cf8

Browse files
committed
Added missing option for PHP 5
1 parent 66f60fb commit c9a2cf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php_phongo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ static int phongo_execute_parse_options(mongoc_client_t* client, int server_id,
595595
return false;
596596
}
597597
} else if ((!strcasecmp(string_key, "writeConcern")) && (flags & PHONGO_WRITECONCERN_ALLOWED)) {
598-
if (!process_write_concern(*driver_option, zwriteConcern TSRMLS_CC)) {
598+
if (!process_write_concern(*driver_option, mongoc_opts, zwriteConcern TSRMLS_CC)) {
599599
return false;
600600
}
601601
} else {

0 commit comments

Comments
 (0)