BUGFIX Removed backticks from GoogleSitemap

This commit is contained in:
sharvey 2010-03-09 01:02:03 +00:00
parent 33686e4d98
commit e0222dc8b7

View File

@ -44,7 +44,7 @@ class GoogleSitemap extends Controller {
$filter = ''; $filter = '';
if(self::$use_show_in_search) { if(self::$use_show_in_search) {
$filter = '`ShowInSearch` = 1'; $filter = 'ShowInSearch = 1';
} }
$this->Pages = Versioned::get_by_stage('SiteTree', 'Live', $filter); $this->Pages = Versioned::get_by_stage('SiteTree', 'Live', $filter);