Commit d6f9e1cf authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#1953 - SOAP method mail_user_update limits quota to about 2GB

parent 990a55dc
......@@ -208,7 +208,13 @@ class remoting_lib {
break;
case 'INTEGER':
$new_record[$key] = intval($record[$key]);
//* We use + 0 to force the string to be a number as
//* intval return value is too limited on 32bit systems
if(intval($record[$key]) == 2147483647) {
$new_record[$key] = $record[$key] + 0;
} else {
$new_record[$key] = intval($record[$key]);
}
break;
case 'DOUBLE':
......
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