[BUGFIX] Check feAuth is not greater than 0.
authorKai Ratzeburg <hello@kai-ratzeburg.de>
Mon, 4 Jan 2016 13:33:08 +0000 (14:33 +0100)
committerKai Ratzeburg <hello@kai-ratzeburg.de>
Mon, 4 Jan 2016 13:33:08 +0000 (14:33 +0100)
Classes/Utility/PageData.php

index 12ab8a1..39be892 100644 (file)
@@ -85,7 +85,7 @@ class PageData {
 
                // Ignore non-standard pages or pages where a login is required.
                // We don't want secured pages to appear on the sitemap.
-               if(empty($pageUid) || $doktype !== 1 || count($feAuth) < 1) {
+               if(empty($pageUid) || $doktype !== 1 || count($feAuth) > 0) {
                        return;
                }
                $lastChanged = intval($GLOBALS['TSFE']->page['SYS_LASTCHANGED']);