Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Invalid
-
Affects Version/s: 2.2.2
-
Fix Version/s: None
-
Component/s: ORM
-
Security Level: All
-
Labels:None
-
Environment:mysql 5.1.58, php 5.3
Description
If I set up a field as a tinyint lets say called bob. I then extract a record.
If I do $object->getBob() - when bob = 1, everything works fine.
However, if I do $object->getBob() when bob = 0, the null value is returned.
If bob is null, everything works fine.
This issues only seems to happen with mysql tinyint.