diff --git a/src/wrapper/connection_handle.cxx b/src/wrapper/connection_handle.cxx index d380d84a..27dcf89b 100644 --- a/src/wrapper/connection_handle.cxx +++ b/src/wrapper/connection_handle.cxx @@ -2769,7 +2769,7 @@ connection_handle::view_query(zval* return_value, if (auto e = cb_assign_integer(request.limit, options, "limit"); e.ec) { return e; } - if (auto e = cb_assign_boolean(request.skip, options, "skip"); e.ec) { + if (auto e = cb_assign_integer(request.skip, options, "skip"); e.ec) { return e; } if (auto e = cb_assign_string(request.key, options, "key"); e.ec) {