diff --git a/lib/HttpInput.php b/lib/HttpInput.php index a28ee356..7e360b52 100644 --- a/lib/HttpInput.php +++ b/lib/HttpInput.php @@ -210,7 +210,7 @@ class HttpInput{ } } break; - case Enums\HttpVariableType::DateTime: + case HttpVariableType::DateTime: if($var != ''){ try{ return new DateTimeImmutable($var); diff --git a/scripts/ingest-fa-payments b/scripts/ingest-fa-payments index 58827005..8c504dba 100755 --- a/scripts/ingest-fa-payments +++ b/scripts/ingest-fa-payments @@ -209,8 +209,8 @@ catch(Exception $ex){ $em = new Email(true); $em->To = ADMIN_EMAIL_ADDRESS; $em->Subject = 'Ingesting FA donations failed'; - $em->Body = Template::EmailDonationIngestionFailed(['exception' => preg_replace('/^/m', "\t", $exceptionString)]); - $em->TextBody = Template::EmailDonationIngestionFailedText(['exception' => preg_replace('/^/m', "\t", $exceptionString)]); + $em->Body = Template::EmailDonationProcessingFailed(['exception' => preg_replace('/^/m', "\t", $exceptionString)]); + $em->TextBody = Template::EmailDonationProcessingFailedText(['exception' => preg_replace('/^/m', "\t", $exceptionString)]); $em->Send(); throw $ex; diff --git a/templates/EmailDonationProcessingFailed.php b/templates/EmailDonationProcessingFailed.php index ab542b74..d9f80171 100644 --- a/templates/EmailDonationProcessingFailed.php +++ b/templates/EmailDonationProcessingFailed.php @@ -6,8 +6,6 @@

Donation processing failed

The donation processing script failed with this exception:

-
-
-	
+