From 2a8ff0d37e41822f5ca887ce9bf9f08b7904c9f1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 1 Mar 2006 14:33:18 +0000 Subject: - Patch #43904: user picture not showing. --- themes/engines/phptemplate/phptemplate.engine | 3 +++ 1 file changed, 3 insertions(+) (limited to 'themes') 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); } -- cgit v1.2.3