Needs work
Project:
Listhandler
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
25 Jan 2010 at 20:39 UTC
Updated:
5 Apr 2011 at 21:06 UTC
When I set ListHandler to send attachments as links, it sends attachments. When I set it to attachments, it sends links. This code just looks backwards to me:
if (variable_get('listhandler_attachments_as_link', 0)) {
$body .= _listhandler_mail_links($lfiles, $edit['nid'], $fragment);
}
else {
$body = _listhandler_mail_attachments($body, $lfiles, $mid, $fragment);
}
Is this already fixed in -dev... ?
Comments
Comment #1
cor3huis commentedin Git dev as of 20110131 it is still not changed. Changed therefor the Priority and Status
Comment #2
philipnet commentedHi,
I've corrected the (logic) error.
It will be fixed in the next -dev release.
Comment #3
philipnet commentedPlease test this in the 6.x-1.x-dev release archive.
Comment #4
cor3huis commentedThx GREAT, will test, need to collect all items to test and will then work the issues queue status and info and give feedback. Use Drupal 6.20 on test machine.
Possibly also need to re-make my patches already done for Listhandler against the dev version?
Comment #5
philipnet commented@cor3huis:
The patches are fine. 'patch' is pretty good at what it does ;)