From: Roland Häder Date: Sat, 28 Jun 2008 20:58:43 +0000 (+0000) Subject: Confirmation hash now assigned with template engine X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=301ba94813e926adae38c46bf0123d9c0da31084;p=shipsimu.git Confirmation hash now assigned with template engine --- 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));