diff options
Diffstat (limited to 'extensions/SiteMapIndex')
-rw-r--r-- | extensions/SiteMapIndex/lib/Util.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/SiteMapIndex/lib/Util.pm b/extensions/SiteMapIndex/lib/Util.pm index b0e4c6eab..5c02a5989 100644 --- a/extensions/SiteMapIndex/lib/Util.pm +++ b/extensions/SiteMapIndex/lib/Util.pm @@ -44,7 +44,7 @@ sub too_young_date { sub bug_is_ok_to_index { my ($bug) = @_; - return 1 unless blessed($bug) && $bug->isa('Bugzilla::Bug'); + return 1 unless blessed($bug) && $bug->isa('Bugzilla::Bug') && !$bug->{error}; my $creation_ts = datetime_from($bug->creation_ts); return ($creation_ts && $creation_ts lt too_young_date()) ? 1 : 0; } |