From 4d1eb60482ad1c774b6679e6bd46df28d761258e Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Sun, 3 Sep 2023 08:49:40 +1000 Subject: [PATCH] Minor fix --- CRM/Contact/BAO/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php index a4087b6c5f..acff69065c 100644 --- a/CRM/Contact/BAO/Contact.php +++ b/CRM/Contact/BAO/Contact.php @@ -1131,7 +1131,7 @@ WHERE civicrm_contact.id = " . CRM_Utils_Type::escape($id, 'Integer'); */ public static function processImage() { $action = CRM_Utils_Request::retrieve('action', 'String'); - $pcp = CRM_Utils_Request::retrieve('confirmed', 'String'); + $pcp = CRM_Utils_Request::retrieve('pcp', 'String'); $cid = CRM_Utils_Request::retrieve('cid', 'Positive'); // retrieve contact id in case of Profile context $id = CRM_Utils_Request::retrieve('id', 'Positive'); -- 2.25.1