Skip to content

Commit

Permalink
Merge pull request #10633 from mbabker/copy-paste-too-much
Browse files Browse the repository at this point in the history
Bad var name due to too much copy/paste
  • Loading branch information
Kubik-Rubik committed May 26, 2016
2 parents 3219c9a + 37b2f4f commit e4cdf02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/joomla/mail/mail.php
Expand Up @@ -756,7 +756,7 @@ public function sendAdminMail($adminName, $adminEmail, $email, $type, $title, $a
$message = sprintf(JText::_('JLIB_MAIL_MSG_ADMIN'), $adminName, $type, $title, $author, $url, $url, 'administrator', $type);
$message .= JText::_('JLIB_MAIL_MSG') . "\n";

if ($this->addRecipient($recipient) === false)
if ($this->addRecipient($adminEmail) === false)
{
return false;
}
Expand Down

0 comments on commit e4cdf02

Please sign in to comment.