fixed INT_MAX issue
This commit is contained in:
parent
86f313c117
commit
8651135b96
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue