By chx on
I just had some fun w/ debugging the hell out then realizing that boolean fields have values f and t and both of them is treated as TRUE by PHP. Do not use boolean fields with Drupal (well, I might say with PHP) or you'll need to convert all the time. Related bug in PEAR: http://pear.php.net/bugs/bug.php?id=4535 so I am not alone. The fact that PHP manual states this does not help too much -- all I saw were stuck checkboxes.