Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Commit

Permalink
We want to find user's response result, not get an rs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarrett committed Apr 1, 2015
1 parent 305b9f3 commit ba00e54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/DDGC/Web/Controller/My.pm
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ sub wear_email_verify :Chained('base') :Args(2) {
return $c->detach;
}

my $response = $c->d->rs('CampaignNotice')->search({
campaign_id => $c->d->id_for_campaign('wear'),
my $response = $c->d->rs('User::CampaignNotice')->find({
campaign_id => $c->d->config->id_for_campaign('share'),
users_id => $user->id,
responded => { '!=' => undef },
});
Expand Down

0 comments on commit ba00e54

Please sign in to comment.