#30 Use the email as the source of truth, not the # of tickets added
This commit is contained in:
parent
7e22ce897c
commit
9a0da6f16a
@ -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`
|
hesk_dbQuery("DELETE FROM `".hesk_dbEscape($hesk_settings['db_pfix'])."pending_verification_emails`
|
||||||
WHERE `ActivationKey` = '".hesk_dbEscape($key)."'");
|
WHERE `ActivationKey` = '".hesk_dbEscape($key)."'");
|
||||||
|
|
||||||
//-- were any tickets activated?
|
//-- were there an email recored for the key?
|
||||||
if (count($submittedTickets) > 0)
|
if (!empty($email))
|
||||||
{
|
{
|
||||||
$showForm = false;
|
$showForm = false;
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user