This commit is contained in:
hdrlab 2012-12-18 23:23:32 -08:00
commit b1f4d02930
1 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ class GoogleSitemapSiteTreeDecorator extends DataExtension {
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'));
@ -140,4 +140,4 @@ class GoogleSitemapSiteTreeDecorator extends DataExtension {
return $freq;
}
}
}