From 9a0da6f16abaeb05424ef3a9331747eb610f6414 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Thu, 1 Jan 2015 12:19:06 -0500 Subject: [PATCH] #30 Use the email as the source of truth, not the # of tickets added --- verifyemail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/verifyemail.php b/verifyemail.php index aa7e4f02..c6c6587a 100644 --- a/verifyemail.php +++ b/verifyemail.php @@ -51,8 +51,8 @@ require_once(HESK_PATH . 'inc/header.inc.php'); hesk_dbQuery("DELETE FROM `".hesk_dbEscape($hesk_settings['db_pfix'])."pending_verification_emails` WHERE `ActivationKey` = '".hesk_dbEscape($key)."'"); - //-- were any tickets activated? - if (count($submittedTickets) > 0) + //-- were there an email recored for the key? + if (!empty($email)) { $showForm = false; ?>