Commit 8651135b authored by zYne's avatar zYne

fixed INT_MAX issue

parent 86f313c1
...@@ -1196,7 +1196,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable ...@@ -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;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment