mirror of
https://github.com/getgrav/grav.git
synced 2026-03-01 18:11:25 +01:00
Fixed flex objects with integer keys not working [#2863]
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
# v1.7.0-rc.9
|
||||
## mm/dd/2020
|
||||
|
||||
1. [](#bugfix)
|
||||
* Fixed flex objects with integer keys not working [#2863](https://github.com/getgrav/grav/issues/2863)
|
||||
|
||||
# v1.7.0-rc.8
|
||||
## 03/19/2020
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ class FolderStorage extends AbstractFilesystemStorage
|
||||
{
|
||||
$list = [];
|
||||
foreach ($keys as $key) {
|
||||
$list[$key] = $this->getObjectMeta($key);
|
||||
$list[$key] = $this->getObjectMeta((string)$key);
|
||||
}
|
||||
|
||||
return $list;
|
||||
|
||||
@@ -224,7 +224,7 @@ class SimpleStorage extends AbstractFilesystemStorage
|
||||
|
||||
$list = [];
|
||||
foreach ($rows as $key => $row) {
|
||||
$list[$key] = $this->saveRow($key, $row);
|
||||
$list[$key] = $this->saveRow((string)$key, $row);
|
||||
}
|
||||
|
||||
if ($list) {
|
||||
@@ -441,7 +441,7 @@ class SimpleStorage extends AbstractFilesystemStorage
|
||||
|
||||
$list = [];
|
||||
foreach ($this->data as $key => $info) {
|
||||
$list[$key] = $this->getObjectMeta($key);
|
||||
$list[$key] = $this->getObjectMeta((string)$key);
|
||||
}
|
||||
|
||||
return $list;
|
||||
|
||||
Reference in New Issue
Block a user