Fix bug where one-off donations were shown even if they shouldn't be

master
Sven Slootweg 11 years ago
parent bb95e924e9
commit f695c2441b

@ -55,7 +55,7 @@ $sLogEntry->InsertIntoDatabase();
$sPageTitle = "Contribute to {$sCampaign->sName}";
$sPageContents = NewTemplater::Render("landing", $locale->strings, array(
"can-donate-once" => true,
"can-donate-once" => $sCampaign->sAllowOneTime,
"project-name" => $sCampaign->sName,
"urlname" => $sCampaign->sUrlName,
"methods" => $sPaymentMethods

Loading…
Cancel
Save