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.

Comments

sillygwailo’s picture

StatusFileSize
new606 bytes

Patch attached.

wayland76’s picture

Status: Active » Needs review
drewish’s picture

Status: Needs review » Fixed

thanks, committed to HEAD and DRUPAL-5.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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