I was doing some work in email_functions.inc.php, and I noticed a something strange around lines 171-179 (this
is HESK 2.6.0 beta 1's version of the file; however I noticed this error in the 2.5.5 version):
Code: Select all
/* Send email messages in previous languages (if required) */
if ($current_language != 'NONE')
{
/* Send e-mail to staff */
hesk_mail(implode(',',$recipients), $subject, $message );
/* Reset list of email addresses */
$recipients = array();
}
At "hesk_mail(implode...)", both $subject and $message haven't been declared/instantiated at this point. Is this just an oversight that will never occur, or is this just a "hidden" bug that hasn't been discovered yet?