summaryrefslogtreecommitdiff
path: root/themes/engines/phptemplate/phptemplate.engine
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-03-01 14:33:18 +0000
committerDries Buytaert <dries@buytaert.net>2006-03-01 14:33:18 +0000
commit2a8ff0d37e41822f5ca887ce9bf9f08b7904c9f1 (patch)
tree2039b483da31838f1db9dea3c33c2c2e2ad4346d /themes/engines/phptemplate/phptemplate.engine
parent7939ae1d26756b913522764d0b5a20a56dc5ed21 (diff)
downloadbrdo-2a8ff0d37e41822f5ca887ce9bf9f08b7904c9f1.tar.gz
brdo-2a8ff0d37e41822f5ca887ce9bf9f08b7904c9f1.tar.bz2
- Patch #43904: user picture not showing.
Diffstat (limited to 'themes/engines/phptemplate/phptemplate.engine')
-rw-r--r--themes/engines/phptemplate/phptemplate.engine3
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine
index bf6d5682b..3c7c7f89b 100644
--- a/themes/engines/phptemplate/phptemplate.engine
+++ b/themes/engines/phptemplate/phptemplate.engine
@@ -250,6 +250,9 @@ function phptemplate_node($node, $teaser = 0, $page = 0) {
$variables['submitted'] = t('Submitted by %a on %b.', array('%a' => theme('username', $node), '%b' => format_date($node->created)));
$variables['picture'] = theme_get_setting('toggle_node_user_picture') ? theme('user_picture', $node) : '';
}
+ else {
+ $variables['picture'] = '';
+ }
return _phptemplate_callback('node', $variables, 'node-' . $node->type);
}