From: Patrick McGuire Date: Wed, 22 Jul 2020 13:54:38 +0000 (-0400) Subject: Update is_the_information_correct.php X-Git-Url: http://git.hcoop.net/clinton/MarylandElectronicPetitionSignature.git/commitdiff_plain/ca7db7a4132c16eba81d338f15f4a8607ec8e31c Update is_the_information_correct.php --- diff --git a/is_the_information_correct.php b/is_the_information_correct.php index da13aba..fcba0a4 100644 --- a/is_the_information_correct.php +++ b/is_the_information_correct.php @@ -26,19 +26,19 @@ $error = 'Based on what you entered, we were unable to find any information.'; $sbe_response = md_voter_lookup($web_first_name,$web_last_name,$month,$day,$year,$web_zip_code,'',''); $pos = strpos($sbe_response, $error); if ($pos !== false) { - slack_general_admin("Voter API v2 Fail: $error",'md-petition-api'); + slack_general_admin("Voter API v2 Fail: $web_first_name,$web_last_name,$month,$day,$year,$web_zip_code $error",'md-petition-api'); //meps_mail('mdpetition@gmail.com',$sbe_response,'Voter API v2 Fail: '.$error); } $error2 = 'MISSING NAME'; $pos = strpos($sbe_response, $error2); if ($pos !== false) { - slack_general_admin("Voter API v2 Fail: $error2",'md-petition-api'); + slack_general_admin("Voter API v2 Fail: $web_first_name,$web_last_name,$month,$day,$year,$web_zip_code $error2",'md-petition-api'); // meps_mail('mdpetition@gmail.com',$sbe_response,'Voter API v2 Fail: '.$error2); } $error3 = 'My Voter Registration Record'; $pos = strpos($sbe_response, $error3); if ($pos !== false) { - slack_general_admin("Voter API v2 Success: $error3",'md-petition-api'); + slack_general_admin("Voter API v2 Success: $web_first_name,$web_last_name,$month,$day,$year,$web_zip_code $error3",'md-petition-api'); // meps_mail('mdpetition@gmail.com',$sbe_response,'Voter API v2 Success: '.$error3); }