Skip to content

Commit 96dfb06

Browse files
committed
Fixed php_array_exists call
1 parent 177efe9 commit 96dfb06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MongoDB/Manager.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ static PHP_METHOD(Manager, startSession)
669669
return;
670670
}
671671

672-
if (options && php_array_exists(options, "causalConsistency")) {
672+
if (options && php_array_existsc(options, "causalConsistency")) {
673673
cs_opts = mongoc_session_opts_new();
674674
mongoc_session_opts_set_causal_consistency(cs_opts, php_array_fetchc_bool(options, "causalConsistency"));
675675
}

0 commit comments

Comments
 (0)