fix
authorPatrick McGuire <insidenothing@gmail.com>
Wed, 17 Jun 2020 15:47:03 +0000 (11:47 -0400)
committerGitHub <noreply@github.com>
Wed, 17 Jun 2020 15:47:03 +0000 (11:47 -0400)
admin/analytics.php

index 19512c4..2fc6c69 100644 (file)
@@ -14,12 +14,12 @@ if (isset($_GET['clear_php_session_id'])){
 }
 if (isset($_GET['clear_email'])){
   $email = $_GET['clear_email'];
-  $petition->query("update presign set presign_status = 'DONE' where email = '$email' ");
+  $petition->query("update presign set presign_status = 'DONE' where email_for_follow_up = '$email' ");
   header('Location: analytics.php');
 }
 if (isset($_GET['sign_email'])){
   $email = $_GET['sign_email'];
-  $petition->query("update presign set presign_status = 'SIGNED' where email = '$email' ");
+  $petition->query("update presign set presign_status = 'SIGNED' where email_for_follow_up = '$email' ");
   header('Location: analytics.php');
 }
 if (isset($_GET['sign_php_session_id'])){