View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000466 | XMB1 | Bugs | public | 2011-05-20 04:31 | 2011-05-29 14:05 |
Reporter | deep_blue | Assigned To | miqrogroove | ||
Priority | normal | Severity | minor | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Product Version | 1.9.11.06 | ||||
Target Version | 1.9.11.12 | Fixed in Version | 1.9.11.12 | ||
Summary | 0000466: function altMail incorrectly expects variable to be defined | ||||
Description | I've been getting lots of these notices in my PHP logs: PHP Notice: Undefined variable: mail in htdocs/include/functions.inc.php on line 1507 PHP Notice: Trying to get property of non-object in htdocs/include/functions.inc.php on line 1507 After a close look at the relevant line it's at the very top of the function altMail, specifically at: } elseif ($mail->connection === FALSE) { however, $mail is only defined on 'then' branch of the same if so it's not defined at this point. Emails seem to be sent anyway so nothing major. The issue is still present in trunk afaik. | ||||
Tags | No tags attached. | ||||
MySQL Version | |||||
PHP Version | 5.3.6 | ||||
Web Server | Other | ||||
Browser | |||||
Flags | |||||
Original Reporter | |||||
SVN Revision | 2585 | ||||
|
This is an excellent report. Thank you for the details. It will be at the top of my todo list. |
|
This should be fixed now. :) There is a nice view of the patch at http://svn.xmbforum.com/wsvn/XMB/xmb19x/trunk/source/include/functions.inc.php?op=diff&rev=2585&peg=2585 Thanks again for the report. |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-05-20 04:31 | deep_blue | New Issue | |
2011-05-20 04:31 | deep_blue | PHP Version | => 5.3.6 |
2011-05-20 04:31 | deep_blue | Web Server | => Other |
2011-05-20 09:22 | miqrogroove | Note Added: 0000316 | |
2011-05-20 09:22 | miqrogroove | Status | new => confirmed |
2011-05-20 09:22 | miqrogroove | Projection | none => minor fix |
2011-05-20 09:22 | miqrogroove | Product Version | 1.9.11.08 => 1.9.11.06 |
2011-05-20 09:22 | miqrogroove | Target Version | => 1.9.11.12 |
2011-05-20 10:32 | miqrogroove | Assigned To | => miqrogroove |
2011-05-20 10:32 | miqrogroove | Status | confirmed => assigned |
2011-05-20 10:32 | miqrogroove | ETA | none => < 1 day |
2011-05-20 10:52 | miqrogroove | SVN Revision | => 2585 |
2011-05-20 10:52 | miqrogroove | Note Added: 0000317 | |
2011-05-20 10:52 | miqrogroove | Status | assigned => resolved |
2011-05-20 10:52 | miqrogroove | Fixed in Version | => 1.9.11.12 |
2011-05-20 10:52 | miqrogroove | Resolution | open => fixed |
2011-05-29 14:05 | miqrogroove | Status | resolved => closed |