X-Git-Url: https://git.mxchange.org/?p=city.git;a=blobdiff_plain;f=application%2Fcity%2Fclasses%2Fcommands%2Fhtml%2Fclass_CityHtmlResendLinkCommand.php;h=b217ff506fa2efb0590601cb21d1e7c96956cee4;hp=c625b14c35510748b474e1809eb077b9dd5acb35;hb=d100f068798a47a699aa723c0b4bd62b3025c1b6;hpb=083892d43cd5e566fba63c0ef6d1c75dde5944f2 diff --git a/application/city/classes/commands/html/class_CityHtmlResendLinkCommand.php b/application/city/classes/commands/html/class_CityHtmlResendLinkCommand.php index c625b14..b217ff5 100644 --- a/application/city/classes/commands/html/class_CityHtmlResendLinkCommand.php +++ b/application/city/classes/commands/html/class_CityHtmlResendLinkCommand.php @@ -98,10 +98,10 @@ class CityHtmlResendLinkCommand extends BaseCommand implements Commandable { $templateInstance = $this->prepareTemplateInstance($applicationInstance); // Assign the application data with the template engine - $templateInstance->assignApplicationData($applicationInstance); + $templateInstance->assignApplicationData(); // Get a mailer class - $mailerInstance = ObjectFactory::createObjectByConfiguredName('mailer_class', array($templateInstance, $applicationInstance, 'resend_link')); + $mailerInstance = ObjectFactory::createObjectByConfiguredName('mailer_class', array($templateInstance, 'resend_link')); // Set this mailer in our template engine $templateInstance->setMailerInstance($mailerInstance);