Merge pull request #1252 from eileenmcnaughton/CRM-13072-testfixes
[civicrm-core.git] / api / v3 / Contact.php
index 96bc4d4ce2a2d687a63bdacca6e0e88ce62ff4eb..e9fa2b4baaf226f956e1a80ca62d7086a3cd0204 100644 (file)
@@ -1,6 +1,4 @@
 <?php
-// $Id$
-
 /*
   +--------------------------------------------------------------------+
   | CiviCRM version 4.3                                                |
@@ -191,7 +189,7 @@ function civicrm_api3_contact_getcount($params) {
   $options = array();
   _civicrm_api3_contact_get_supportanomalies($params, $options);
   $count = _civicrm_api3_get_using_query_object('contact', $params, $options,1);
-  return $count;
+  return (int) $count;
 }
 
 /**