From 5aae67880dcfd4ec27336722235a452c8c096f4f Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Thu, 9 Jun 2022 11:52:39 +0800 Subject: [PATCH] MDL-73013 filelib: Fix code lint --- lib/filelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filelib.php b/lib/filelib.php index ee2667c22df..044fbfe0f37 100644 --- a/lib/filelib.php +++ b/lib/filelib.php @@ -4584,7 +4584,7 @@ function file_pluginfile($relativepath, $forcedownload, $preview = null, $offlin // Retrieve file from storage, and serve. $filename = array_pop($args); $filepath = $args ? '/' . implode('/', $args) .'/' : '/'; - $file = $fs->get_file($context->id, $component, $filearea, $eventid, $filepath, $filename)'' + $file = $fs->get_file($context->id, $component, $filearea, $eventid, $filepath, $filename); if (!$file || $file->is_directory()) { send_file_not_found(); }