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
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;
}
}
......
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