My form is not recognizing bool types. I did a debug dump, and I see that my bool field has both type AND db_type as tinyint. In libraries/grocery_crud.php, I added "case tinyint" to the switch at line 337, which seemed to fix the problem.
bug - bool recognition
Started by avi123, 12 December 2011 - 16:05 PM
- Single Page
Posted 12 December 2011 - 16:05 PM
Posted 12 December 2011 - 21:06 PM
[quote name='avi123' timestamp='1323705926' post='137']
My form is not recognizing bool types. I did a debug dump, and I see that my bool field has both type AND db_type as tinyint. In libraries/grocery_crud.php, I added "case tinyint" to the switch at line 337, which seemed to fix the problem.
[/quote]
Yes you are right. I just fix it for the next version. Codeigniter change every-time things without telling something about some updates like... this!!
Thank you very much to mention it.
My form is not recognizing bool types. I did a debug dump, and I see that my bool field has both type AND db_type as tinyint. In libraries/grocery_crud.php, I added "case tinyint" to the switch at line 337, which seemed to fix the problem.
[/quote]
Yes you are right. I just fix it for the next version. Codeigniter change every-time things without telling something about some updates like... this!!
Thank you very much to mention it.