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 554This 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.
| Attachment | Size |
|---|---|
| feedaggregator_node_links_patch.txt | 506 bytes |

#1
Whoops, I neglected to use unified diff in the original patch. New version is attached.
#2
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
Applied to CVS
#4