Closed (fixed)
Project:
FAQ_Ask
Version:
6.x-2.1-beta2
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
14 Jun 2010 at 22:33 UTC
Updated:
29 Jun 2010 at 16:20 UTC
There's a small glitch in the faq_ask_block() hook, where the
<?php
function faq_ask_block($op = 'list', $delta = 0, $edit = array()) {
switch ($op) {
case 'view':
$block['title']= t('Ask a Question');
?>
should really be
<?php
function faq_ask_block($op = 'list', $delta = 0, $edit = array()) {
switch ($op) {
case 'view':
$block['subject']= t('Ask a Question');
?>
in order to allow Drupal to override the block's title with whatever an admin might have typed in at admin/build/block.
Comments
Comment #1
stenjo commentedYou are quite right!
Will be updated in the 2.x-dev as soon as I get the chance to do it :-). Thank you.
Comment #2
stenjo commentedFixed in the 2.1-beta2 version