mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-10-26 15:56:30 +01:00
Merge branch 'develop' into 1.10
# Conflicts: # CHANGELOG.md # blueprints.yaml
This commit is contained in:
@@ -734,8 +734,8 @@ class AdminBaseController
|
||||
// Process previously uploaded files for the current URI
|
||||
// and finally store them. Everything else will get discarded
|
||||
$queue = $this->admin->session()->getFlashObject('files-upload');
|
||||
$queue = $queue[base64_encode($this->grav['uri']->url())];
|
||||
if (is_array($queue)) {
|
||||
$queue = $queue[base64_encode($this->grav['uri']->url())];
|
||||
foreach ($queue as $key => $files) {
|
||||
foreach ($files as $destination => $file) {
|
||||
if (!rename($file['tmp_name'], $destination)) {
|
||||
|
||||
Reference in New Issue
Block a user