Skip to content

Commit

Permalink
use namespace getmailer
Browse files Browse the repository at this point in the history
  • Loading branch information
810 committed Jun 23, 2020
1 parent 1010923 commit 4fbab17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/com_kunena/controllers/topic.php
Original file line number Diff line number Diff line change
Expand Up @@ -2218,7 +2218,7 @@ public function report()
jimport('joomla.environment.uri');
$msglink = Uri::getInstance()->toString(array('scheme', 'host', 'port')) . $target->getPermaUrl(null, false);

$mail = JFactory::getMailer();
$mail = Factory::getMailer();
$mail->setSender(array($this->config->getEmail(), $mailsender));
$mail->setSubject($mailsubject);
$mail->addReplyTo($this->me->email, $this->me->username);
Expand Down

0 comments on commit 4fbab17

Please sign in to comment.