diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-06-09 07:28:35 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-06-09 07:28:35 +0000 |
commit | 9a432420dc7374b7e0495559765d002164f9060c (patch) | |
tree | 45742e18f30b287a97b9113312eb7600e5e29291 /modules/taxonomy/taxonomy.module | |
parent | 5ed9cf76a065df0fcdcce67197f34b62ac83cac5 (diff) | |
download | brdo-9a432420dc7374b7e0495559765d002164f9060c.tar.gz brdo-9a432420dc7374b7e0495559765d002164f9060c.tar.bz2 |
- Patch #268204 by aclight: fixed E_NOTICE.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index b26ecf9f2..7aa096217 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -51,7 +51,7 @@ function taxonomy_link($type, $node = NULL) { if ($type == 'taxonomy terms' && $node != NULL) { $links = array(); // If previewing, the terms must be converted to objects first. - if ($node->build_mode == NODE_BUILD_PREVIEW) { + if (isset($node->build_mode) && $node->build_mode == NODE_BUILD_PREVIEW) { $node->taxonomy = taxonomy_preview_terms($node); } if (!empty($node->taxonomy)) { |