mirror of
https://github.com/getgrav/grav.git
synced 2025-12-05 15:29:57 +01:00
Fixed potential error when upgrading Grav
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
# v1.7.0-rc.20
|
||||
## mm/dd/2020
|
||||
|
||||
1. [](#bugfix)
|
||||
* Fixed potential error when upgrading Grav
|
||||
|
||||
# v1.7.0-rc.19
|
||||
## 12/02/2020
|
||||
|
||||
|
||||
@@ -110,6 +110,8 @@ final class VersionUpdater
|
||||
|
||||
protected function loadUpdates(): void
|
||||
{
|
||||
$this->updates = [];
|
||||
|
||||
$schema = $this->getExtensionSchema();
|
||||
$iterator = new DirectoryIterator($this->path);
|
||||
foreach ($iterator as $item) {
|
||||
|
||||
Reference in New Issue
Block a user