Skip to content

Commit

Permalink
Merge pull request #9758 from lcdservices/CRM-19955
Browse files Browse the repository at this point in the history
CRM-19955 file display in contact record
  • Loading branch information
monishdeb authored Feb 1, 2017
2 parents 338d5ac + c55199e commit 1d8b699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Core/BAO/CustomField.php
Original file line number Diff line number Diff line change
Expand Up @@ -1443,7 +1443,7 @@ public static function getFileURL($contactID, $cfID, $fileID = NULL, $absolute =
$entityId = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_EntityFile',
$fileID,
'entity_id',
'id'
'file_id'
);
list($path) = CRM_Core_BAO_File::path($fileID, $entityId, NULL, NULL);
$url = CRM_Utils_System::url('civicrm/file',
Expand Down

0 comments on commit 1d8b699

Please sign in to comment.