Closed (fixed)
Project:
Attachment
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2005 at 22:50 UTC
Updated:
26 Feb 2006 at 04:39 UTC
When a node has no attachments, the attachment module generates this unnecessary HTML code at the end of the body:
<br /><a name="attachments"></a><div class="attachments"></div>
This causes the excerpt module to generate a "read more" link in the teasers for nodes that should not have that link, and it could cause other similar problems.
The patch fixes this by making sure there is at least one non-hidden attachment before generating any code for the attachment list.
| Comment | File | Size | Author |
|---|---|---|---|
| geary-2005-09-15.attachment.module.patch | 1.37 KB | Geary |
Comments
Comment #1
ccourtne commentedPatch applied thanks!
Comment #2
zach harkey commented+1 even if it is cleaning up another module's crap.