Skip to content

Commit

Permalink
Improve naming consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-e committed Jul 30, 2018
1 parent 1398da0 commit 7a33fef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/class.emailnewsletter.php
Original file line number Diff line number Diff line change
Expand Up @@ -398,13 +398,13 @@ public function getSender()

public function getTemplate()
{
$tmpl = Symphony::Database()->fetchCol('template','SELECT template from tbl_email_newsletters where id = \'' . $this->getId() .'\'');
$template = Symphony::Database()->fetchCol('template','SELECT template from tbl_email_newsletters where id = \'' . $this->getId() .'\'');
try {
$template = EmailTemplateManager::load($tmpl[0]);
$tmpl = EmailTemplateManager::load($template[0]);
} catch (Exception $e) {
}

return $template;
return $tmpl;
}

protected function _getRecipients($limit = 10)
Expand Down

0 comments on commit 7a33fef

Please sign in to comment.