Skip to content

Commit 7e2adf0

Browse files
committed
Merge branch 'v1.16'
* v1.16: PHPC-2268: Remove duplicate call to bson_iter_key (#1452) Update to libmongoc 1.24.2 (#1448)
2 parents e1c09b0 + 1a2b881 commit 7e2adf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BSON/Iterator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ static PHP_METHOD(MongoDB_BSON_Iterator, key)
154154
return;
155155
}
156156

157-
RETURN_STRING(bson_iter_key(&intern->iter));
157+
RETURN_STRING(key);
158158
}
159159

160160
static PHP_METHOD(MongoDB_BSON_Iterator, next)

0 commit comments

Comments
 (0)