Skip to content

Null checking for typed fetches

Choose a tag to compare

@g105b g105b released this 18 Jun 23:13
· 67 commits to master since this release
5ed2225

This patch improves a bug when dealing with typed fetches, such as $row->fetchDateTime("fieldName"). If the field was not set on the row, the typed fetch could return a default value rather than null. This has been fixed and null values are preserved, no matter what type is being returned.