|
@@ -108,7 +108,7 @@ |
|
|
block discarded – undo |
|
108
|
108
|
*/ |
|
109
|
109
|
public function getPages(): \Cecil\Collection\Page\Collection |
|
110
|
110
|
{ |
|
111
|
|
- return $this->builder->getPages()->filter(function (CollectionPage $page) { |
|
|
111
|
+ return $this->builder->getPages()->filter(function(CollectionPage $page) { |
|
112
|
112
|
// We should fix case of virtual pages without language |
|
113
|
113
|
if ($page->getVariable('language') === null && $this->language === $this->config->getLanguageDefault()) { |
|
114
|
114
|
return true; |
Please login to merge, or discard this patch.