if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|l", &mssql_result_index, &resulttype) == FAILURE) {
return;
}
+ result_type = (resulttype > 0 && (resulttype & MSSQL_BOTH)) ? resulttype : result_type;
break;
default:
return;
}
/* }}} */
-/* {{{ proto object mssql_fetch_object(resource result_id [, int result_type])
- Returns a psuedo-object of the current row in the result set specified by result_id */
+/* {{{ proto object mssql_fetch_object(resource result_id)
+ Returns a pseudo-object of the current row in the result set specified by result_id */
PHP_FUNCTION(mssql_fetch_object)
{
php_mssql_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, MSSQL_ASSOC);