Skip to content

Commit

Permalink
Merge pull request #28 from hdrlab/patch-1
Browse files Browse the repository at this point in the history
A fix so that non-indexed pages remain non-indexed
  • Loading branch information
wilr committed Dec 19, 2012
2 parents 3785409 + 620e09b commit 6cc800a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/GoogleSitemapDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function getPriority() {
return max(0.1, 1.0 - ($numParents / 10));
}
elseif ($this->owner->getField('Priority') == -1) {
return 0;
return -1;
}
else {
$priority = abs($this->owner->getField('Priority'));
Expand Down Expand Up @@ -140,4 +140,4 @@ public function getChangeFrequency() {

return $freq;
}
}
}

0 comments on commit 6cc800a

Please sign in to comment.