From 50208d1e0d3bea9c0f45ff52bbfe0a31ad81ed2c Mon Sep 17 00:00:00 2001 From: Chris Burgess Date: Sun, 31 Jan 2016 08:52:05 +1300 Subject: [PATCH] CRM-17909. Correct parameter to ts() for risky file warning. --- CRM/Utils/Check/Component/Security.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Check/Component/Security.php b/CRM/Utils/Check/Component/Security.php index 828ccf69d4..3d2e37ec5e 100644 --- a/CRM/Utils/Check/Component/Security.php +++ b/CRM/Utils/Check/Component/Security.php @@ -246,7 +246,7 @@ class CRM_Utils_Check_Component_Security extends CRM_Utils_Check_Component { if (file_exists($file[0])) { $messages[] = new CRM_Utils_Check_Message( __FUNCTION__, - ts('File \'%1\' presents a security risk and should be deleted.', array(1 => $file)), + ts('File \'%1\' presents a security risk and should be deleted.', array(1 => $file[0])), ts('Unsafe Files'), $file[1], 'fa-lock' -- 2.25.1