Merge pull request #45 from g4b0/priority_locale

Priority locale
This commit is contained in:
Will Rossiter 2013-07-18 00:51:10 -07:00
commit affee1788f
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ class GoogleSitemapSiteTreeExtension extends GoogleSitemapExtension {
* @return mixed
*/
public function getGooglePriority() {
setlocale(LC_ALL, "en_US.UTF8");
$priority = $this->owner->getField('Priority');
if(!$priority) {