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

stenjo’s picture

You are quite right!
Will be updated in the 2.x-dev as soon as I get the chance to do it :-). Thank you.

stenjo’s picture

Version: 6.x-2.x-dev » 6.x-2.1-beta2
Assigned: Unassigned » stenjo
Status: Active » Fixed

Fixed in the 2.1-beta2 version

Status: Fixed » Closed (fixed)

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