[Tickets #11308] Re: Horde_Form_Type_boolean does not accept direct true or false values

bugs at horde.org bugs at horde.org
Mon Aug 6 20:11:05 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11308
------------------------------------------------------------------------------
  Ticket             | 11308
  Updated By         | Jan Schneider <jan at horde.org>
  Summary            | Horde_Form_Type_boolean does not accept direct true or
                     | false values
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Enhancement
-State              | New
+State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


Jan Schneider <jan at horde.org> (2012-08-06 22:11) wrote:

How is that supposed to work. A submitted form field, whether hidden  
or visible, is always passing a string. is_bool() is always false,  
unless you explicitly set the value to true/false, i.e. you don't get  
the value from a submitted form.





More information about the bugs mailing list