Fix for filtering collections throwing null key error

This commit is contained in:
Andy Miller
2016-08-22 15:55:30 -06:00
parent 5ca2bf4ae8
commit 7d7ef5ea74
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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());
}
}
}