From c2e6cfabe91eb270c0bb58137078bd0413a7554f Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Sun, 2 Jul 2006 19:00:21 +0000 Subject: #71639 by keve, fix an undefined variable. --- themes/engines/phptemplate/phptemplate.engine | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine index 95ed53b20..e081cd477 100644 --- a/themes/engines/phptemplate/phptemplate.engine +++ b/themes/engines/phptemplate/phptemplate.engine @@ -248,10 +248,11 @@ function phptemplate_node($node, $teaser = 0, $page = 0) { // Display info only on certain node types. if (theme_get_setting('toggle_node_info_' . $node->type)) { - $variables['submitted'] = t('Submitted by %a on %b.', array('%a' => theme('username', $node), '%b' => format_date($node->created))); + $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['submitted'] = ''; $variables['picture'] = ''; } -- cgit v1.2.3