Fixes #652 intval -> int in modcp.php