Skip to content

Commit

Permalink
Fix typo in Query constructor exception
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed Sep 20, 2016
1 parent 45de038 commit c4708a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MongoDB/Query.c
Expand Up @@ -89,7 +89,7 @@ static bool php_phongo_query_opts_append_document(bson_t *opts, const char *opts
}

if (!BSON_APPEND_DOCUMENT(opts, opts_key, &b)) {
phongo_throw_exception(PHONGO_ERROR_INVALID_ARGUMENT TSRMLS_CC, "Error appending \"%s\" options", opts_key);
phongo_throw_exception(PHONGO_ERROR_INVALID_ARGUMENT TSRMLS_CC, "Error appending \"%s\" option", opts_key);
bson_destroy(&b);
return false;
}
Expand Down

0 comments on commit c4708a0

Please sign in to comment.