This is the bug tracking and feature request tracking system for the Mambo open source CMS project. To add a new task, or comment or vote on an existing task, please register, preferably by using the same username that you use on the forums.
Please do not open tasks for bugs in versions earlier than Mambo 4.6.5.
FS#468 - Password Reminder module - PHP missing global variable declaration
|
Detailsin \components\com_registration\registration.php function: sendNewPass global: $mosConfig_mailfrom is not declared, therefore causing an error on line 92: mosMail($mosConfig_mailfrom, $mosConfig_fromname, $confirmEmail, $subject, $message); when attempting to request a password reminder sent to the user/email address specified. here is the apache log file error proving the condition: PHP Notice: Undefined variable: mosConfig_mailfrom in C:\\blah\\components\\com_registration\\registration.php on line 92, referer: http://www.example.com/index.php?option=com_registration&task=lostPassword
The fix is to add $mosConfig_mailfrom to the list of global declarations at the start of the sendNewPass function. |