Add this after line 55:
<?php
if ($data[0]) {
$InsertQuery = new WA_MySQLi_Query($siteguide2018);
$InsertQuery->Action = "insert";
$InsertQuery->Table = "PORC_decisions";
$InsertQuery->bindColumn("record_number", "s", "". $data[2].$insertID ."", "WA_DEFAULT");
$InsertQuery->bindColumn("ebird_expedited", "i", "1", "WA_DEFAULT");
$InsertQuery->saveInSession("");
$InsertQuery->execute();
$InsertGoTo = "";
if (function_exists("rel2abs")) $InsertGoTo = $InsertGoTo?rel2abs($InsertGoTo,dirname(__FILE__)):"";
$InsertQuery->redirect($InsertGoTo);
}
?>