Block title not showed

sinasquax - May 27, 2009 - 22:23
Project:Block Reference
Version:6.x-1.12
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hello, there is a small bug when you use a blockreference for a block with a custom title, it doesn't shows.

You must replace in blockreference.module in line 178 :

<?php
  $block
->subject = $block_view['subject'];
?>

by :

<?php
  $block
->subject = ($block->title) ? $block->title : $block_view['subject'];
?>

#1

vthirteen - May 30, 2009 - 16:44
Status:active» reviewed & tested by the community

it works for me

#2

danielb - May 30, 2009 - 23:02

what works for you, sinasquax's code?

#3

vthirteen - June 4, 2009 - 11:47

yes, sorry. i meant sinasquax's code works for me, not the original code.

#4

danielb - June 5, 2009 - 00:04
Status:reviewed & tested by the community» fixed

#5

System Message - June 19, 2009 - 00:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.