mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-10-29 17:26:40 +01:00
Merge branch 'develop' into 1.10
# Conflicts: # CHANGELOG.md # blueprints.yaml
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# v1.10.0-rc.2
|
# v1.10.0-rc.2
|
||||||
## mm/dd/2019
|
## 12/04/2019
|
||||||
|
|
||||||
1. [](#new)
|
1. [](#new)
|
||||||
* Added support for hiding parts of admin by `Deny` permissions (`Flex Users` only)
|
* Added support for hiding parts of admin by `Deny` permissions (`Flex Users` only)
|
||||||
@@ -128,6 +128,12 @@
|
|||||||
1. [](#bugfix)
|
1. [](#bugfix)
|
||||||
* Fixed admin caching issues
|
* Fixed admin caching issues
|
||||||
|
|
||||||
|
# v1.9.12
|
||||||
|
## 12/04/2019
|
||||||
|
|
||||||
|
1. [](#bugfix)
|
||||||
|
* Fixed saving configuration in PHP 7.4
|
||||||
|
|
||||||
# v1.9.11
|
# v1.9.11
|
||||||
## 11/06/2019
|
## 11/06/2019
|
||||||
|
|
||||||
|
|||||||
@@ -734,8 +734,8 @@ class AdminBaseController
|
|||||||
// Process previously uploaded files for the current URI
|
// Process previously uploaded files for the current URI
|
||||||
// and finally store them. Everything else will get discarded
|
// and finally store them. Everything else will get discarded
|
||||||
$queue = $this->admin->session()->getFlashObject('files-upload');
|
$queue = $this->admin->session()->getFlashObject('files-upload');
|
||||||
$queue = $queue[base64_encode($this->grav['uri']->url())];
|
|
||||||
if (is_array($queue)) {
|
if (is_array($queue)) {
|
||||||
|
$queue = $queue[base64_encode($this->grav['uri']->url())];
|
||||||
foreach ($queue as $key => $files) {
|
foreach ($queue as $key => $files) {
|
||||||
foreach ($files as $destination => $file) {
|
foreach ($files as $destination => $file) {
|
||||||
if (!rename($file['tmp_name'], $destination)) {
|
if (!rename($file['tmp_name'], $destination)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user