Download & Extend

Patch: if url is empty, image is not wrapped href tag

Project:Link Image Field
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

AttachmentSize
linkimagefield_empy_url_fix.patch1.45 KB

Comments

#1

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

#2

Status:needs review» fixed

Closing as per comment #1.

#3

Cheers tseven for the quick fix.

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

Cheers,
Amarjit

#4

Status:fixed» closed (fixed)

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

nobody click here