diff --git a/gittip/models/participant.py b/gittip/models/participant.py index 429083ee29..231c1918ab 100644 --- a/gittip/models/participant.py +++ b/gittip/models/participant.py @@ -127,8 +127,8 @@ def __get__(self, participant, other): def __set__(self, participant, value): last_goal = self.most_recent_goal(participant) existing_create_time = last_goal.ctime if last_goal else None - existing_or_current_ctime = func.coalesce( existing_create_time - , func.current_timestamp() + existing_or_current_ctime = func.coalesce( existing_create_time + , func.current_timestamp() ) created = db.session.query(existing_or_current_ctime).as_scalar() goal = Goal( ctime=created