From f695c2441b6bcc3488d29c9c5c1654c451700a2c Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Fri, 1 Mar 2013 13:48:44 +0100 Subject: [PATCH] Fix bug where one-off donations were shown even if they shouldn't be --- public_html/modules/landing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/modules/landing.php b/public_html/modules/landing.php index da44bb0..d8194d6 100644 --- a/public_html/modules/landing.php +++ b/public_html/modules/landing.php @@ -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