forked from HPR/hpr_hub
		
	Fix for the reserve show confirmation and missing ;
This commit is contained in:
		@@ -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("<p><em>This email is an automatic reply. If you have not made this request then please ignore this email.</em></p>
 | 
			
		||||
  <p>Thank You for recording an episode for the Reserve Queue.</p>
 | 
			
		||||
@@ -476,20 +476,20 @@ if ( $ep_num  === 9999 ) {
 | 
			
		||||
else {
 | 
			
		||||
  $mailer->Subject = "Thank you for uploading hpr${ep_num}::${ep_date}";
 | 
			
		||||
  $mailer->MsgHTML("<p><em>This email is an automatic reply. If you have not made this request then please ignore this email.</em></p>
 | 
			
		||||
  <p>Thank You for recording hpr${ep_num} for release on ${ep_date}.</p>
 | 
			
		||||
  <p>Thank you for recording hpr${ep_num} for release on ${ep_date}.</p>
 | 
			
		||||
  <pre>
 | 
			
		||||
  $message
 | 
			
		||||
  </pre>
 | 
			
		||||
  <p>
 | 
			
		||||
  Your show will now be processed by a HPR Volunteer.<br />
 | 
			
		||||
  Thanks,<br />
 | 
			
		||||
  HPR Bot
 | 
			
		||||
  HPR Bot.
 | 
			
		||||
  </p>");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
$mailer->AltBody = "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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user