Update abuse.php
authorPatrick McGuire <insidenothing@gmail.com>
Tue, 9 Jun 2020 18:50:26 +0000 (14:50 -0400)
committerGitHub <noreply@github.com>
Tue, 9 Jun 2020 18:50:26 +0000 (14:50 -0400)
admin/abuse.php

index 9e9bccb..68dae94 100644 (file)
@@ -214,10 +214,10 @@ while($d = mysqli_fetch_array($r)){
 <h2>Pre-Sign</h2>
 <div>Follow up requested - never signed.</div><ol>
 <?PHP
-$q="SELECT distinct email_for_follow_up, name, petition FROM presign where presign_status = 'NEW' and email_for_follow_up <> '' order by id desc";
+$q="SELECT distinct email_for_follow_up, php_session_id, name, petition, invite FROM presign where presign_status = 'NEW' and email_for_follow_up <> '' order by id desc";
 $r = $petition->query($q);
 while($d = mysqli_fetch_array($r)){ 
-    echo "<li>$d[name] $d[email_for_follow_up] ($d[petition])</li>"; 
+    echo "<li><a href='?VTRID=$d[VTRID]'>$d[name] $d[email_for_follow_up] ($d[petition])</a></li>"; 
 }
 ?></ol>
   </td>