Chapter 14. Working with Taxonomy, Page 340
Wed, 10/01/2008 - 10:18am — Ulrich Müller
Location on the page:
Source code prelast line
Chapter:
14. Working with Taxonomy
Error:
drupal_mail('taxonomymonitor-notify', $to, $subject, $body);
Correction:
drupal_mail('taxonomymonitor', 'notice', '$to, $language, $params);
Plus a new function is needed, taxonomymonitor_mail(), as an implementation of hook_mail().
Description of the Error:
The API of drupal_mail has changed. The code used in the book is for DRUPAL 5.
[Ulrich is correct. The module uses the old function signature. I swear I remember testing this module, though. I will update the downloadable code with the new version. -JV]
