It seems that between D4.7 and D5, hook_taxonomy() was modified such that instead of taking an object as the third parameter, it takes an array. This change wasn't listed in the documentation pages for upgrading modules (at http://drupal.org/node/64279), so it's no surprised the change was missed. There's no real consequence on D5, other than the fact that it causes notices.
The attached patch fixes the problem, such as it is. Tested on a local site and it looks fine.
| Comment | File | Size | Author |
|---|---|---|---|
| project_hook_taxonomy_0.patch | 1000 bytes | aclight |
Comments
Comment #1
dwwReviewed and committed to DRUPAL-5 and HEAD. Thanks!
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.