Set subject for built-in blocks

evoltech - September 29, 2009 - 22:37
Project:Jump
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:evoltech
Status:closed
Description

message "Notice: Undefined variable: subject in jump_block() (line 90 of /home/dwilliams/www/drupal-6.13/sites/journal.com/modules/jump-DRUPAL-6--1/jump.module)."

#1

evoltech - October 9, 2009 - 17:27

We use $subject but never define it. There really is no reason for it.

AttachmentSize
jump-591554.patch 621 bytes

#2

evoltech - October 24, 2009 - 01:35
Status:active» needs review

#3

marcp - October 30, 2009 - 22:07
Title:Notice: Undefined variable: subject in jump_block()» Set subject for built-in blocks
Status:needs review» fixed

Instead of dropping the subject for these built-in blocks we now take a stab at a default subject (menu label for menus and vocabulary name for vocabularies).

#4

System Message - November 13, 2009 - 22:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.