Anonymous | Login | Signup for a new account | 2021-04-16 22:18 BST | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000616 | SiT! | inbound email | public | 2009-03-26 20:29 | 2009-08-16 14:40 | ||||
Reporter | smelvin | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 3.45 | ||||||||
Target Version | 3.50 | Fixed in Version | 3.50 | ||||||
Summary | 0000616: Empty ($CONFIG['spam_email_subject']) causes warnings in holding queue | ||||||||
Description | If you clear the contents of the Spam Subject field on the Email config page, every email displays a warning about an invalid delimiter. Please see screen capture. It can be resolved by making the following change in the holding_queue.php file at line 276. Replace... while ($updates = mysql_fetch_array($result)) { if (!stristr($updates['subject'], $CONFIG['spam_email_subject'])) { $queuerows[$updates['id']] = generate_row($updates); } else { $spamcount++; } } With ... if (!empty($CONFIG['spam_email-subject'])) { while ($updates = mysql_fetch_array($result)) { if (!stristr($updates['subject'], $CONFIG['spam_email_subject'])) { $queuerows[$updates['id']] = generate_row($updates); } else { $spamcount++; } } } else { while ($updates = mysql_fetch_array($result)) { $queuerows[$updates['id']] = generate_row($updates); } } This way the system checks to see if the variable is empty before entering into the loop. Hopefully this helps. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | ![]() | ||||||||
![]() |
|
kieran (administrator) 2009-03-26 20:53 |
Cheers for the report, I commited the fix to svn. |
ivan (administrator) 2009-08-16 14:40 |
Released in 3.50rc1 |
![]() |
|||
Date Modified | Username | Field | Change |
2009-03-26 20:29 | smelvin | New Issue | |
2009-03-26 20:29 | smelvin | File Added: Delimiter Error.png | |
2009-03-26 20:53 | kieran | Note Added: 0000844 | |
2009-03-26 20:53 | kieran | Status | new => resolved |
2009-03-26 20:53 | kieran | Resolution | open => fixed |
2009-03-26 20:53 | kieran | Fixed in Version | => Current SVN |
2009-08-15 21:31 | ivan | Target Version | => 3.50 |
2009-08-16 13:15 | ivan | Fixed in Version | Current SVN => 3.50 |
2009-08-16 14:40 | ivan | Note Added: 0001745 | |
2009-08-16 14:40 | ivan | Status | resolved => closed |
Copyright © 2000 - 2021 MantisBT Team |