Skip to content

Commit

Permalink
Merge pull request #54 from torleif/patch-1
Browse files Browse the repository at this point in the history
FIX: will work for postgreSQL
  • Loading branch information
Damian Mooyman committed Aug 19, 2014
2 parents 9629f0e + fa0dcb7 commit 05c500b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/search/SearchVariantSubsites.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function extractManipulationWriteState(&$writes) {
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());
}

Expand Down

0 comments on commit 05c500b

Please sign in to comment.