mirror of
https://github.com/getgrav/grav.git
synced 2026-06-19 18:30:44 +02:00
Fix for filtering collections throwing null key error
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
* Fix for lightbox media function throwing error [#981](https://github.com/getgrav/grav/issues/981)
|
||||
* Removed 307 redirect code option as it is not well supported [#743](https://github.com/getgrav/grav-plugin-admin/issues/743)
|
||||
* Fixed issue with folders with name `*.md` are not confused with pages [#995](https://github.com/getgrav/grav/issues/995)
|
||||
* Fixed an issue when filtering collections causing null key
|
||||
|
||||
# v1.1.2
|
||||
## 08/10/2016
|
||||
|
||||
@@ -2235,7 +2235,7 @@ class Page
|
||||
if (empty($page->taxonomy[$taxonomy]) || !in_array(htmlspecialchars_decode($item,
|
||||
ENT_QUOTES), $page->taxonomy[$taxonomy])
|
||||
) {
|
||||
$collection->remove();
|
||||
$collection->remove($page->path());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user