From 6fcdf74849448a602c331fac05821ee402e475b2 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 21 Feb 2019 22:45:45 -0800 Subject: [PATCH] CRM_Core_Page_File - More consistent capitalization/prose --- CRM/Core/Page/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Page/File.php b/CRM/Core/Page/File.php index 18ed83690f..2a9ec348fb 100644 --- a/CRM/Core/Page/File.php +++ b/CRM/Core/Page/File.php @@ -47,7 +47,7 @@ class CRM_Core_Page_File extends CRM_Core_Page { $fileId = CRM_Utils_Request::retrieve('id', 'Positive', $this, FALSE); // File ID $fileName = CRM_Utils_Request::retrieve('filename', 'String', $this, FALSE); if (empty($fileName) && (empty($entityId) || empty($fileId))) { - CRM_Core_Error::statusBounce("Either FIlename or Entity ID and FIle Id need to be passed in to retrieve files"); + CRM_Core_Error::statusBounce("Cannot access file: Must pass either \"Filename\" or the combination of \"Entity ID\" + \"File ID\""); } $hash = CRM_Utils_Request::retrieve('fcs', 'Alphanumeric', $this); if (!CRM_Core_BAO_File::validateFileHash($hash, $entityId, $fileId) && empty($fileName)) { -- 2.25.1