Changeset 1532

Show
Ignore:
Timestamp:
12/14/07 12:23:37 (7 months ago)
Author:
Shadowhand
Message:

Form checkboxes now return FALSE instead of NULL, to better integrate with database fields that cannot be NULL.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/modules/forge/libraries/Form_Checkbox.php

    r1522 r1532  
    1818                { 
    1919                        // Return the value if the checkbox is checked 
    20                         return $this->data['checked'] ? $this->data['value'] : NULL
     20                        return $this->data['checked'] ? $this->data['value'] : FALSE
    2121                } 
    2222