mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-10-22 11:05:48 +02:00
BUGFIX Removed backticks from GoogleSitemap
This commit is contained in:
parent
33686e4d98
commit
e0222dc8b7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user