Changeset 124

Show
Ignore:
Timestamp:
11/12/07 09:03:11 (10 months ago)
Author:
mikey
Message:

bugfix in converting primitive: string "false" should evaluate to false

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/PRE_NAMESPACES/XJConf/converters/PrimitiveValueConverter.php

    r36 r124  
    4141            case 'boolean': 
    4242            case 'bool': 
     43                if ('false' === $value) { 
     44                    return false; 
     45                } 
     46                 
    4347                return (boolean) $value; 
    4448            case 'integer': 
  • branches/PRE_NAMESPACES/package.php

    r110 r124  
    2020 * current version 
    2121 */ 
    22 $version = '0.2.1'; 
     22$version = '0.2.2'; 
    2323 
    2424/** 
     
    4242$notes = <<<EOT 
    4343Feature additions: 
    44 - Added a fourth way of adding children, this time via the keyAttribute attribute (mikey) 
     44- bugfix in converting primitive: string "false" should evaluate to false (mikey) 
    4545EOT; 
    4646