summaryrefslogtreecommitdiff
path: root/plugins/Sitemap/noticesitemap.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Sitemap/noticesitemap.php')
-rw-r--r--plugins/Sitemap/noticesitemap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Sitemap/noticesitemap.php b/plugins/Sitemap/noticesitemap.php
index 9f323f72a..7d9d2e5d6 100644
--- a/plugins/Sitemap/noticesitemap.php
+++ b/plugins/Sitemap/noticesitemap.php
@@ -105,7 +105,7 @@ class NoticesitemapAction extends SitemapAction
$notice->whereAdd("created >= '$begindt'");
$notice->whereAdd("created < '$enddt'");
- $notice->whereAdd('is_local != 0');
+ $notice->whereAdd('is_local = ' . Notice::LOCAL_PUBLIC);
$notice->orderBy('created');