Update core 8.3.0
This commit is contained in:
parent
da7a7918f8
commit
cd7a898e66
6144 changed files with 132297 additions and 87747 deletions
|
|
@ -45,7 +45,7 @@ class FileDownloadController extends ControllerBase {
|
|||
|
||||
if (file_stream_wrapper_valid_scheme($scheme) && file_exists($uri)) {
|
||||
// Let other modules provide headers and controls access to the file.
|
||||
$headers = $this->moduleHandler()->invokeAll('file_download', array($uri));
|
||||
$headers = $this->moduleHandler()->invokeAll('file_download', [$uri]);
|
||||
|
||||
foreach ($headers as $result) {
|
||||
if ($result == -1) {
|
||||
|
|
|
|||
Reference in a new issue