X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=CRM%2FMailing%2FEvent%2FBAO%2FBounce.php;h=ce6647a197eea4bed4ab2e476c9c97a75d245844;hb=21d32567e1b27f08ea060ed31199656365b15b7e;hp=10d4ae842efaab512e4f2c8dc3411e3348d2f70b;hpb=bf00d1b6a4760264502229e1c1b6bda31d677629;p=civicrm-core.git diff --git a/CRM/Mailing/Event/BAO/Bounce.php b/CRM/Mailing/Event/BAO/Bounce.php index 10d4ae842e..ce6647a197 100644 --- a/CRM/Mailing/Event/BAO/Bounce.php +++ b/CRM/Mailing/Event/BAO/Bounce.php @@ -230,6 +230,7 @@ class CRM_Mailing_Event_BAO_Bounce extends CRM_Mailing_Event_DAO_Bounce { $orderBy = "sort_name ASC, {$bounce}.time_stamp DESC"; if ($sort) { if (is_string($sort)) { + $sort = CRM_Utils_Type::escape($sort, 'String'); $orderBy = $sort; } else {