From 6a52c5155b59f1a23fb51cf6ed5ecdcca72bbcf0 Mon Sep 17 00:00:00 2001 From: Brian Shaughnessy Date: Mon, 30 Jan 2017 17:58:45 -0500 Subject: [PATCH] CRM-19947 fix file link on custom multi profile edit form --- CRM/Profile/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Profile/Form.php b/CRM/Profile/Form.php index 9bcf0b9ee7..e513affbaa 100644 --- a/CRM/Profile/Form.php +++ b/CRM/Profile/Form.php @@ -500,7 +500,7 @@ class CRM_Profile_Form extends CRM_Core_Form { ) { $entityId = $this->_activityId; } - $url = CRM_Core_BAO_CustomField::getFileURL($entityId, $key); + $url = CRM_Core_BAO_CustomField::getFileURL($entityId, $key, $value); if ($url) { $customFiles[$name]['displayURL'] = ts("Attached File") . ": {$url['file_url']}"; -- 2.25.1