Fixed forgotten rename.
authorMattias Michaux <mattias.michaux@gmail.com>
Tue, 3 May 2016 14:34:03 +0000 (16:34 +0200)
committerMattias Michaux <mattias.michaux@gmail.com>
Tue, 3 May 2016 14:34:03 +0000 (16:34 +0200)
CRM/Mailing/Page/AJAX.php

index 3e7f9746df29110823cf3876101c42f17c1ccb72..855967c01cabb4c5db0755501ae9f40e4c66fd3a 100644 (file)
@@ -62,7 +62,7 @@ class CRM_Mailing_Page_AJAX {
    */
   public static function getContactMailings() {
     $params = CRM_Core_Page_AJAX::defaultSortAndPagerParams();
-    $params += CRM_Core_Page_AJAX::getSanitizedParams(array('contact_id' => 'Integer'));
+    $params += CRM_Core_Page_AJAX::validateParams(array('contact_id' => 'Integer'));
 
     // get the contact mailings
     $mailings = CRM_Mailing_BAO_Mailing::getContactMailingSelector($params);