1
0
mirror of synced 2025-01-30 03:51:43 +03:00

fixed INT_MAX issue

This commit is contained in:
zYne 2007-07-20 09:38:10 +00:00
parent 86f313c117
commit 8651135b96

View File

@ -1196,7 +1196,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
return (boolean) $value;
break;
case 'integer':
return (int) $value;
// don't do any casting here PHP INT_MAX is smaller than what the databases support
break;
}
}