1
0
mirror of synced 2025-02-07 07:49:27 +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; return (boolean) $value;
break; break;
case 'integer': case 'integer':
return (int) $value; // don't do any casting here PHP INT_MAX is smaller than what the databases support
break; break;
} }
} }