drupal_get_title() undefined error

luperry - May 18, 2006 - 23:13
Project:Search Keywords
Version:HEAD
Component:Code
Category:bug report
Priority:normal
Assigned:sugree
Status:needs review
Description

I was getting lots of errors saying

"stderr: PHP Fatal error:  Call to undefined function:  drupal_get_title() in "home/.doublestuff/luperry/luperry.com/modules/search_keywords/search_keywords.module on line 37"

the problem seems that there are pages such as the main page, that has no title. here is a simple patch that'll fix the problem.

AttachmentSize
get_title_undefined.patch.txt982 bytes

#1

sugree - July 14, 2006 - 15:00
Assigned to:Anonymous» sugree

umm I'm not sure why it happened. Anyway, your patch should fix this problem by now.

 
 

Drupal is a registered trademark of Dries Buytaert.