Skip to content

Commit

Permalink
fix: Correct column name in function
Browse files Browse the repository at this point in the history
Update column name in milestoneRewardGivenUpdate function
  • Loading branch information
AlexanderBlanchardAC committed Dec 11, 2024
1 parent e04847a commit 9203f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/web/services/Community/AJAX.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function milestoneRewardGivenUpdate() {
$campaignMilestoneProgress = new CampaignMilestoneUsersProgress();
#TODO: Add a campaignId check
$campaignMilestoneProgress->userId = $userId;
$campaignMilestoneProgress->milestoneId = $milestoneId;
$campaignMilestoneProgress->ce_milestone_id = $milestoneId;

if ($campaignMilestoneProgress->find(true)) {
$campaignMilestoneProgress->rewardGiven = 1;
Expand Down

0 comments on commit 9203f60

Please sign in to comment.