Skip to content

Commit

Permalink
Merge pull request #77 from markguinn/patch-1
Browse files Browse the repository at this point in the history
Fixed a query that's broken under PostgreSQL
  • Loading branch information
Aaron Carlino committed May 26, 2016
2 parents 39a6e85 + cfc61e7 commit 674e111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/DashboardMember.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function onAfterWrite() {
$clone->write();
}

DB::query("UPDATE Member SET HasConfiguredDashboard = 1 WHERE ID = {$this->owner->ID}");
DB::query("UPDATE \"Member\" SET \"HasConfiguredDashboard\" = 1 WHERE \"ID\" = {$this->owner->ID}");
$this->owner->flushCache();
}
}
Expand Down

0 comments on commit 674e111

Please sign in to comment.