BUGFIX Removed backticks from GoogleSitemap

This commit is contained in:
sharvey 2010-03-09 01:02:03 +00:00
parent 33686e4d98
commit e0222dc8b7
1 changed files with 1 additions and 1 deletions

View File

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