[REF] Minor cleanup on contactGroup function
[civicrm-core.git] / CRM / Contact / Page / View / ContactSmartGroup.php
index 2e21781eed0032a3b848df1a7017be50b709bf53..a2481166271dc298b4c61c812cfa6cb981e2f564 100644 (file)
@@ -67,7 +67,7 @@ class CRM_Contact_Page_View_ContactSmartGroup extends CRM_Core_Page {
   }
 
   public function preProcess() {
-    $this->_contactId = CRM_Utils_Request::retrieve('cid', 'Positive', $this, TRUE);
+    $this->_contactId = (int) CRM_Utils_Request::retrieve('cid', 'Positive', $this, TRUE);
     $this->assign('contactId', $this->_contactId);
 
     $displayName = CRM_Contact_BAO_Contact::displayName($this->_contactId);