Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
taxonomy.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
8 Jun 2008 at 20:18 UTC
Updated:
23 Jun 2008 at 07:32 UTC
If I call taxonomy_link() from within another function like so:
taxonomy_link('taxonomy terms', $node);
Depending on where $node has come from I get the following notice:
notice: Undefined property: stdClass::$build_mode in /Applications/MAMP/htdocs/port/drupal/modules/taxonomy/taxonomy.module on line 52.
The attached patch fixes the notice. Patch is rolled against HEAD but applies with a few lines of offset to D6 as well. Tested and it works fine.
| Comment | File | Size | Author |
|---|---|---|---|
| taxonomy_build_mode_notice.patch | 837 bytes | aclight |
Comments
Comment #1
dries commentedCommitted to CVS HEAD and DRUPAL-6. Thanks.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.