diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-06-06 17:24:24 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-06-06 17:24:24 +0000 |
commit | 3998bfad458a6bfb8a659841fe5964b4aeaf030f (patch) | |
tree | 80bb263c56975b89bcc491c43e70830f3e760b99 /themes | |
parent | 94f5eee15add395831056010abb3304e9f215c7a (diff) | |
download | brdo-3998bfad458a6bfb8a659841fe5964b4aeaf030f.tar.gz brdo-3998bfad458a6bfb8a659841fe5964b4aeaf030f.tar.bz2 |
- Bugfix: the Xtemplate theme didn't check whether the taxonomy was enabled.
Patch by Ax.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/xtemplate/xtemplate.theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/xtemplate/xtemplate.theme b/themes/xtemplate/xtemplate.theme index 6f8f8cc21..1a584eff5 100644 --- a/themes/xtemplate/xtemplate.theme +++ b/themes/xtemplate/xtemplate.theme @@ -37,7 +37,7 @@ class Theme_xtemplate extends BaseTheme { "date" => format_date($node->created), "content" => ($main && $node->teaser) ? $node->teaser : $node->body)); - if ($taxonomy = taxonomy_link("taxonomy terms", $node)) { + if (module_exist("taxonomy") && ($taxonomy = taxonomy_link("taxonomy terms", $node))) { $this->template->assign("taxonomy", $this->links($taxonomy)); } |