⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

bug - bool recognition



avi123
  • profile picture
  • Member

Posted 12 December 2011 - 16:05 PM

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.

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

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.