mirror of
https://github.com/getgrav/grav.git
synced 2026-03-06 12:31:53 +01:00
Fixed GPM update issue with filtered slugs #1711
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
1. [](#new)
|
||||
* Added Page `media_order` capability to manually order page media via a page header
|
||||
1. [](#bugfix)
|
||||
* Fixed GPM update issue with filtered slugs [#1711](https://github.com/getgrav/grav/issues/1711)
|
||||
|
||||
# v1.3.7
|
||||
## 10/18/2017
|
||||
|
||||
@@ -182,7 +182,7 @@ class UpdateCommand extends ConsoleCommand
|
||||
$index = 0;
|
||||
foreach ($this->data as $packages) {
|
||||
foreach ($packages as $slug => $package) {
|
||||
if (count($limit_to) && !array_key_exists($slug, $limit_to)) {
|
||||
if (count($only_packages) && !array_key_exists($slug, $limit_to)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -276,6 +276,7 @@ class UpdateCommand extends ConsoleCommand
|
||||
$this->output->writeln('');
|
||||
$this->output->writeln("Packages not found or not requiring updates: <red>" . implode('</red>, <red>',
|
||||
$ignore) . "</red>");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user