Closed (fixed)
Project:
Akismet
Version:
5.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2007 at 17:06 UTC
Updated:
1 Apr 2008 at 23:16 UTC
Jump to comment: Most recent file
Call to undefined function: node_get_name() in *modules/akismet/akismet.module* on line *396*
A user of ours reported this, as I haven't been able to duplicate this (I think a node has get flagged as spam and haven't been able to do that), but I do know that the function is no longer available in Drupal 5. According to the recommendation in converting Drupal 4.7 modules to 5, you should use node_get_types('name', $node) instead.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | akismet-node-get-name-undefined.patch.txt | 606 bytes | sillygwailo |
Comments
Comment #1
sillygwailoPatch attached.
Comment #2
wayland76 commentedComment #3
drewish commentedthanks, committed to HEAD and DRUPAL-5.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.