feedaggregator_node using old syntax for hook_link()

gwen - July 6, 2007 - 23:27
Project:Feedparser
Version:5.x-1.x-dev
Component:feedaggregator_node
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

When enabling the "full story" link, the following error is thrown:

Fatal error: Cannot use string offset as an array in /var/www/svn/wwwdev.ourchart.com/ourchart/branches/drupal-5.1-upgrade/includes/theme.inc on line 554

This seems to be happening b/c feedaggregator_node_link() uses the old syntax for setting links. I'm attaching a patch with code that works for drupal 5.

AttachmentSize
feedaggregator_node_links_patch.txt506 bytes

#1

gwen - July 6, 2007 - 23:29

Whoops, I neglected to use unified diff in the original patch. New version is attached.

AttachmentSize
feedaggregator_node_links_patch_0.txt 808 bytes

#2

Lityi - July 15, 2007 - 22:35

yepp, I had the same problem with a fresh install and PHP 5.2.3

this patch works like charm, million thx for it :)

#3

budda - July 17, 2007 - 16:21
Status:needs review» fixed

Applied to CVS

#4

Anonymous - July 31, 2007 - 16:27
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.