FIX: will work for postgreSQL
subsites will fail with this module if running on PostgrSQL
This commit is contained in:
parent
9629f0e0f5
commit
fa0dcb7078
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue