diff options
| -rw-r--r-- | ext/oci8/oci8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 215d65970f..17554947e1 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -5449,7 +5449,7 @@ PHP_FUNCTION(oci_field_type) } /* }}} */ -/* {{{ proto mixed oci_field_type_raw(resource stmt, int col) +/* {{{ proto int oci_field_type_raw(resource stmt, int col) Tell the raw oracle data type of a column */ PHP_FUNCTION(oci_field_type_raw) { @@ -6505,7 +6505,7 @@ PHP_FUNCTION(oci_collection_element_get) /* Return null if the value is null */ if (*elemind == OCI_IND_NULL) { - RETURN_FALSE; + RETURN_NULL; } switch (coll->element_typecode) { |
