We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e529d30 commit 5f20d16Copy full SHA for 5f20d16
src/MongoDB/Query.c
@@ -75,7 +75,6 @@ PHP_METHOD(Query, __construct)
75
zval_to_bson(zfilter, PHONGO_BSON_NONE, &bfilter, NULL TSRMLS_CC);
76
77
if (zoptions) {
78
- bson_init(&boptions);
79
zval_to_bson(zoptions, PHONGO_BSON_NONE, &boptions, NULL TSRMLS_CC);
80
}
81
if (!phongo_query_init(intern, &bfilter, &boptions TSRMLS_CC)) {
0 commit comments