Update analytics.php
authorPatrick McGuire <insidenothing@gmail.com>
Thu, 18 Jun 2020 14:26:33 +0000 (10:26 -0400)
committerGitHub <noreply@github.com>
Thu, 18 Jun 2020 14:26:33 +0000 (10:26 -0400)
admin/analytics.php

index 73f72c7..0dc9774 100644 (file)
@@ -285,7 +285,7 @@ while($d = mysqli_fetch_array($r)){
     }
   }
   $presig='';
-  $q4="SELECT * FROM presign where php_session_id = '$d[php_session_id]' and php_page like '/sign.php%'";
+  $q4="SELECT * FROM presign where email_for_follow_up = '$d2[email_for_follow_up]' and php_page like '/sign.php%'";
   $r4 = $petition->query($q4);
   $d4 = mysqli_fetch_array($r4);
   if ($d4[action_on]){