If 'Link this field to download the file' for a upload field is checked all nodes without a uploaded file will have the options['alter']['make_link'] preserved from the last node with a uploaded file. This results in a empty a-tag with a href to the previous nodes file. This patch sets options['alter']['make_link'] to FALSE if the field is empty.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | views-535424.patch | 822 bytes | dawehner |
| 0001-If-Link-this-field-to-download-the-file-for-a-uplo.patch | 1.25 KB | Hugo Wetterberg |
Comments
Comment #1
dawehnerMakes sense.
I could also reproduce it.
But I need to upload another easy to apply patch :)
@Huge Wetterberg.
How can format a patch for only one commit in git? Thats just personal interrest.
Comment #2
merlinofchaos commentedMakes sense. Committed!