From 53c7f1e80560da8bb3b7c3c728674a7a10a72dae Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 20 Oct 2020 13:29:34 -0600 Subject: [PATCH] Contacts - Import: Correct redirect URLs. --- app/contacts/contact_import.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/contacts/contact_import.php b/app/contacts/contact_import.php index 2c415cfe99..dfb92964fc 100644 --- a/app/contacts/contact_import.php +++ b/app/contacts/contact_import.php @@ -143,7 +143,7 @@ $token = new token; if (!$token->validate($_SERVER['PHP_SELF'])) { message::add($text['message-invalid_token'],'negative'); - header('Location: extension_imports.php'); + header('Location: contact_import.php'); exit; } @@ -209,6 +209,7 @@ echo " \n"; foreach($row['fields'] as $field) { if ($field == 'phone_label') { continue; } + if ($field == 'contact_url') { continue; } // can remove this after field is removed from the table $selected = ''; if ($field == $line_field) { $selected = "selected='selected'"; @@ -270,7 +271,7 @@ $token = new token; if (!$token->validate($_SERVER['PHP_SELF'])) { message::add($text['message-invalid_token'],'negative'); - header('Location: extension_imports.php'); + header('Location: contact_import.php'); exit; }