If the url field is left empty a href tag with the path of '/' is wrapped around the image.

This patch prevents the use of the href tag if no url is provided.

CommentFileSizeAuthor
linkimagefield_empy_url_fix.patch1.45 KBtseven

Comments

john franklin’s picture

The module contains similar code to this patch, no doubt added after this bug was filed. This issue can be closed.

pfrenssen’s picture

Status: Needs review » Fixed

Closing as per comment #1.

Amarjit’s picture

Cheers tseven for the quick fix.

This has not been added to 6.x-1.x-dev (2011-Feb-25).

Cheers,
Amarjit

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.