Update analytics.php
authorPatrick McGuire <insidenothing@gmail.com>
Mon, 13 Jul 2020 16:33:03 +0000 (12:33 -0400)
committerGitHub <noreply@github.com>
Mon, 13 Jul 2020 16:33:03 +0000 (12:33 -0400)
admin/analytics.php

index fa813b0..fa27394 100644 (file)
@@ -178,7 +178,7 @@ if (isset($_GET['ip_address'])){
 }elseif(isset($_GET['php_session_id']) && empty($_GET['follow_up'])){ 
   $php_session_id = $_GET['php_session_id']; 
   echo "<h1>Review $php_session_id</h1><table width='100%' border='1' cellpadding='5' cellspacing='5'>";    
-  $q = "SELECT * FROM presign where php_session_id = '$php_session_id' order by RAND() ";
+  $q = "SELECT * FROM presign where php_session_id = '$php_session_id' and email_for_follow_up <> '$_COOKIE[sign_email]' order by id DESC ";
   $r = $petition->query($q);
   while($d = mysqli_fetch_array($r)){
     $color = 'white';