FIX: will work for postgreSQL

subsites will fail with this module if running on PostgrSQL
This commit is contained in:
torleif 2014-08-19 10:29:01 +12:00
parent 9629f0e0f5
commit fa0dcb7078
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class SearchVariantSubsites extends SearchVariant {
if (!$this->appliesTo($write['class'], true)) continue;
if (self::$subsites === null) {
$query = new SQLQuery('ID', 'Subsite');
$query = new SQLQuery('"ID"', '"Subsite"');
self::$subsites = array_merge(array('0'), $query->execute()->column());
}