diff --git a/hub/upload_confirm.php b/hub/upload_confirm.php index e891261..671c648 100755 --- a/hub/upload_confirm.php +++ b/hub/upload_confirm.php @@ -160,7 +160,7 @@ logextra( "license is a valid value" ); // } // logextra( "Notes are less than max" ); -$notes_length = strlen($_POST["notes"]) +$notes_length = strlen($_POST["notes"]); logextra( "Notes are $notes_length long." ); if ( ( empty($_POST["series"]) and ($_POST["series"] != 0 ) ) or (strlen($_POST["series"]) > 3 ) ) { @@ -460,7 +460,7 @@ $mailer->addBCC('admin@hackerpublicradio.org'); $mailer->addBCC('admin@hobbypublicradio.org'); $mailer->AddAddress("$db_email"); $mailer->isHTML(false); -if ( $ep_num === 9999 ) { +if ( $ep_num == "9999" ) { $mailer->Subject = "Thank you for uploading to the Reserve Queue"; $mailer->MsgHTML("
This email is an automatic reply. If you have not made this request then please ignore this email.
Thank You for recording an episode for the Reserve Queue.
@@ -476,20 +476,20 @@ if ( $ep_num === 9999 ) { else { $mailer->Subject = "Thank you for uploading hpr${ep_num}::${ep_date}"; $mailer->MsgHTML("This email is an automatic reply. If you have not made this request then please ignore this email.
-Thank You for recording hpr${ep_num} for release on ${ep_date}.
+Thank you for recording hpr${ep_num} for release on ${ep_date}.
$message
Your show will now be processed by a HPR Volunteer.
Thanks,
- HPR Bot
+ HPR Bot.