From 301ba94813e926adae38c46bf0123d9c0da31084 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 28 Jun 2008 20:58:43 +0000 Subject: [PATCH] Confirmation hash now assigned with template engine --- inc/classes/main/commands/web/class_WebResendLinkCommand.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/classes/main/commands/web/class_WebResendLinkCommand.php b/inc/classes/main/commands/web/class_WebResendLinkCommand.php index 03aa64d..9ff8050 100644 --- a/inc/classes/main/commands/web/class_WebResendLinkCommand.php +++ b/inc/classes/main/commands/web/class_WebResendLinkCommand.php @@ -103,6 +103,9 @@ class WebResendLinkCommand extends BaseCommand implements Commandable { // Update the user class $userInstance->updateDatabaseField('confirm_hash', $hashedString); + // Assign the hash with a template variable + $templateInstance->assignVariable('confirm_hash', $hashedString); + // Get a mailer class $mailerInstance = ObjectFactory::createObjectByConfiguredName('mailer_class', array($templateInstance)); -- 2.39.5