Merge pull request #54 from torleif/patch-1
FIX: will work for postgreSQL
This commit is contained in:
commit
05c500b020
|
@ -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