CRM-17909. Correct parameter to ts() for risky file warning.
authorChris Burgess <chris@giantrobot.co.nz>
Sat, 30 Jan 2016 19:52:05 +0000 (08:52 +1300)
committerChris Burgess <chris@giantrobot.co.nz>
Sat, 30 Jan 2016 19:52:05 +0000 (08:52 +1300)
CRM/Utils/Check/Component/Security.php

index 828ccf69d473d6a4eb7f44477efcba167c2a17b8..3d2e37ec5e579303cf43c86b26dab9b794a97167 100644 (file)
@@ -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'