diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-07-02 19:00:21 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-07-02 19:00:21 +0000 |
commit | c2e6cfabe91eb270c0bb58137078bd0413a7554f (patch) | |
tree | 6fd9eec0fa23ac7c76b4c95de462688e737fdd59 /themes/engines/phptemplate | |
parent | e2ade026808be8d569fd1957aa4785c646e68562 (diff) | |
download | brdo-c2e6cfabe91eb270c0bb58137078bd0413a7554f.tar.gz brdo-c2e6cfabe91eb270c0bb58137078bd0413a7554f.tar.bz2 |
#71639 by keve, fix an undefined variable.
Diffstat (limited to 'themes/engines/phptemplate')
-rw-r--r-- | themes/engines/phptemplate/phptemplate.engine | 3 |
1 files changed, 2 insertions, 1 deletions
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'] = ''; } |