Error page removed from Sitemap
This commit is contained in:
parent
5f3397b18f
commit
cc069d988d
|
@ -48,6 +48,7 @@ class pluginSitemap extends Plugin {
|
||||||
// --- Pages ---
|
// --- Pages ---
|
||||||
$filter = trim($Url->filters('page'),'/');
|
$filter = trim($Url->filters('page'),'/');
|
||||||
$pages = $dbPages->getDB();
|
$pages = $dbPages->getDB();
|
||||||
|
unset($pages['error']);
|
||||||
foreach($pages as $key=>$db)
|
foreach($pages as $key=>$db)
|
||||||
{
|
{
|
||||||
$permalink = empty($filter) ? $url.'/'.$key : $url.'/'.$filter.'/'.$key;
|
$permalink = empty($filter) ? $url.'/'.$key : $url.'/'.$filter.'/'.$key;
|
||||||
|
|
Loading…
Reference in New Issue