Bug in translation with taxonomy_image_tt()

thePanz - March 16, 2009 - 01:02
Project:Taxonomy Image
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

Patch attached: taxonomy_image_tt() is called with a non-existing variable $term.

AttachmentSize
taxonomy_image-fixed_term_translation_bug.patch816 bytes

#1

NancyDru - March 17, 2009 - 13:57
Status:needs review» fixed

You are correct that $term does not exist, but there is no need to get it, the object is called $current. Thank you for the patch.

#2

thePanz - March 19, 2009 - 12:11

This issue is partially fixed: we muse use the correct TID, taken from $tid and not from (not existing object $term) $term->tid.

AttachmentSize
taxonomy_image-translation_wrong_parameter_term_TID.patch 1.21 KB

#3

thePanz - March 19, 2009 - 12:11
Status:fixed» needs review

#4

NancyDru - March 19, 2009 - 13:45
Status:needs review» fixed

Thanks. Committed.

#5

System Message - April 2, 2009 - 13:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.