Skip to content

Commit b6a5e48

Browse files
committed
PHPC-977: Bump libbson and libmongoc to 1.7.0
1 parent 06d608b commit b6a5e48

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/BSON/functions.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ static void phongo_bson_to_json(INTERNAL_FUNCTION_PARAMETERS, php_phongo_json_mo
131131
if (mode == PHONGO_JSON_MODE_LEGACY) {
132132
json = bson_as_json(bson, &json_len);
133133
} else if (mode == PHONGO_JSON_MODE_CANONICAL) {
134-
json = bson_as_canonical_json(bson, &json_len);
134+
json = bson_as_canonical_extended_json(bson, &json_len);
135135
} else if (mode == PHONGO_JSON_MODE_RELAXED) {
136-
json = bson_as_relaxed_json(bson, &json_len);
136+
json = bson_as_relaxed_extended_json(bson, &json_len);
137137
}
138138

139139
if (!json) {

src/libmongoc

0 commit comments

Comments
 (0)