Error page removed from Sitemap

This commit is contained in:
dignajar 2016-01-08 00:08:06 -03:00
parent 5f3397b18f
commit cc069d988d
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ class pluginSitemap extends Plugin {
// --- Pages ---
$filter = trim($Url->filters('page'),'/');
$pages = $dbPages->getDB();
unset($pages['error']);
foreach($pages as $key=>$db)
{
$permalink = empty($filter) ? $url.'/'.$key : $url.'/'.$filter.'/'.$key;