Changeset 7928
- Timestamp:
- 03/17/08 09:28:36 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/plugins/sfPropelPlugin/lib/propel/sfPropelDatabaseSchema.class.php
r7899 r7928 915 915 foreach ($hash as $attribute => $value) 916 916 { 917 $attributes[$attribute] = (string) $value; 917 $value = (string) $value; 918 if (in_array($value, array('true', 'on'))) 919 { 920 $value = true; 921 } 922 elseif (in_array($value, array('false', 'off'))) 923 { 924 $value = false; 925 } 926 $attributes[$attribute] = $value; 918 927 } 919 928