+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
* $Id: $
*
*/
case 'Integer':
case 'Int':
if (CRM_Utils_Rule::integer($data)) {
- return $data;
+ return (int) $data;
}
break;
case 'Integer':
case 'Int':
if (CRM_Utils_Rule::integer($data)) {
- return $data;
+ return (int) $data;
}
break;