Changeset 5323
- Timestamp:
- 12/23/08 14:28:37 (6 months ago)
- Location:
- branches
- Files:
-
- 2 modified
-
1.0/lib/Doctrine/Record.php (modified) (1 diff)
-
1.1/lib/Doctrine/Record.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/lib/Doctrine/Record.php
r5301 r5323 1178 1178 } else if (in_array($type, array('decimal', 'float')) && is_numeric($old) && is_numeric($new)) { 1179 1179 return $old * 100 != $new * 100; 1180 } else if (in_array($type, array('integer', 'int')) && is_numeric($old) && is_numeric($new)) { 1181 return (int) $old !== (int) $new; 1180 1182 } else { 1181 1183 return $old !== $new; -
branches/1.1/lib/Doctrine/Record.php
r5311 r5323 1368 1368 } else if (in_array($type, array('decimal', 'float')) && is_numeric($old) && is_numeric($new)) { 1369 1369 return $old * 100 != $new * 100; 1370 } else if (in_array($type, array('integer', 'int')) && is_numeric($old) && is_numeric($new)) { 1371 return (int) $old !== (int) $new; 1370 1372 } else { 1371 1373 return $old !== $new;