yajra / pdo-via-oci8

PHP PDO_OCI functions via OCI8 extension
Other
88 stars 61 forks source link

Return false if oci8 native fetch calls return false #4

Closed ghost closed 10 years ago

ghost commented 10 years ago

Adding these conditions will prevent a "Invalid argument supplied for foreach()" PHP warning when the results returned from the fetch functions are false.

yajra commented 10 years ago

forgot to tag this commit. update again if you are using version on composer. tagged as 0.2.12