taxonomy_list_show() should not call drupal_set_title() if called in a block

Boobaa - May 10, 2008 - 21:38
Project:Taxonomy List
Version:5.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:NancyDru
Status:closed
Description

I have set it up, works almost perfectly. One major issue is found: if I place a block, all the titles on the site becomes the name of the vocabulary listed in the block.

If I comment the call to drupal_set_title() in taxonomy_list_show() at line #157, the issue goes away - though I don't know yet if it has any side effects.

#1

NancyDru - May 11, 2008 - 00:19

The only side-effect I can think of is that the same code is used for the taxonomy/vocabulary/xxx page so it might not have a correct title.

Thanks for the report.

#2

NancyDru - May 11, 2008 - 13:43
Assigned to:Anonymous» NancyDru
Status:active» fixed

Fix committed to new releases.

#3

Anonymous (not verified) - May 25, 2008 - 13:51
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.