mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 23:30:35 -04:00
Fix logic errors
This commit is contained in:
parent
7ac427dad5
commit
72615fe79a
2 changed files with 3 additions and 2 deletions
|
@ -231,11 +231,11 @@ try{
|
|||
|
||||
if($payment->IsRecurring){
|
||||
$patron->BaseCost = PATRONS_CIRCLE_MONTHLY_COST;
|
||||
$patron->CycleType == Enums\CycleType::Monthly;
|
||||
$patron->CycleType = Enums\CycleType::Monthly;
|
||||
}
|
||||
else{
|
||||
$patron->BaseCost = PATRONS_CIRCLE_YEARLY_COST;
|
||||
$patron->CycleType == Enums\CycleType::Yearly;
|
||||
$patron->CycleType = Enums\CycleType::Yearly;
|
||||
}
|
||||
|
||||
$log->Write('Adding donor as patron ...');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue