fixed INT_MAX issue
This commit is contained in:
parent
86f313c117
commit
8651135b96
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user