X-Git-Url: http://git.hcoop.net/clinton/MarylandElectronicPetitionSignature.git/blobdiff_plain/98ce83b3cd0c2960a911af586eca06d8fedbbdb3..44f7b8483a13d74a8b77cc98099ffdd908371921:/petition.php
diff --git a/petition.php b/petition.php
index cf7c115..657e97f 100644
--- a/petition.php
+++ b/petition.php
@@ -6,15 +6,15 @@ if (isset($_POST['petition'])){
$q = "select * from petitions where petition_id = '$id'";
$r = $petition->query($q);
$d = mysqli_fetch_array($r);
- slack_general('OK POST: petition.php ('.$_COOKIE['invite'].')','md-petition');
+ //slack_general('OK POST (invite:'.$_COOKIE['invite'].')','md-petition');
}elseif($_COOKIE['pID'] != ''){
$id = $_COOKIE['pID'];
$q = "select * from petitions where petition_id = '$id'";
$r = $petition->query($q);
$d = mysqli_fetch_array($r);
- slack_general('OK COOKIE: petition.php ('.$_COOKIE['invite'].')','md-petition');
+ //slack_general('OK COOKIE (invite:'.$_COOKIE['invite'].')','md-petition');
}else{
- slack_general('MAJOR ERROR: petition.php ('.$_COOKIE['invite'].')','md-petition');
+ slack_general('MAJOR ERROR (invite:'.$_COOKIE['invite'].')','md-petition');
header('Location: reset.php');
die('Error #15');
}
@@ -22,15 +22,16 @@ setcookie("pJPG", $d['petition_jpg']);
?>