From f745b06c600c9e84708d2bb6c1b7dcd3e9af1699 Mon Sep 17 00:00:00 2001 From: Patrick McGuire Date: Tue, 14 Jul 2020 11:09:21 -0400 Subject: [PATCH] Update presign.php --- presign.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/presign.php b/presign.php index 4f1a647..286d4a7 100644 --- a/presign.php +++ b/presign.php @@ -65,11 +65,11 @@ while($d = mysqli_fetch_array($r)){ } } -$q = "select exit_link from petitions where petition_id = '$petition_id'"; +$q = "select exit_page from petitions where petition_id = '$petition_id'"; $r = $petition->query($q); $d = mysqli_fetch_array($r,MYSQLI_ASSOC); -if ($d['exit_link'] != ''){ - header('Location: '.$d['exit_link']); +if ($d['exit_page'] != ''){ + header('Location: '.$d['exit_page']); die(); } -- 2.20.1