Merge pull request #54 from torleif/patch-1

FIX: will work for postgreSQL
This commit is contained in:
Damian Mooyman 2014-08-19 16:35:59 +12:00
commit 05c500b020
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());
}