diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-10-20 09:27:36 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-10-20 09:27:36 +0000 |
commit | 3fad92fc59464454d56f331487f99c474c23e0ec (patch) | |
tree | c12263ba7db6e30373ffd06ff1735eed9981d64e /themes | |
parent | e83b00d52693d87cba2be1ad8b80df6d34519d26 (diff) | |
download | brdo-3fad92fc59464454d56f331487f99c474c23e0ec.tar.gz brdo-3fad92fc59464454d56f331487f99c474c23e0ec.tar.bz2 |
- #34645: Make $links in theme_comment consistent with theme_node (Stefan)
Diffstat (limited to 'themes')
-rw-r--r-- | themes/engines/phptemplate/phptemplate.engine | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine index 455186080..0f4585c0f 100644 --- a/themes/engines/phptemplate/phptemplate.engine +++ b/themes/engines/phptemplate/phptemplate.engine @@ -263,7 +263,7 @@ function phptemplate_comment($comment, $links = 0) { 'comment' => $comment, 'content' => $comment->comment, 'date' => format_date($comment->timestamp), - 'links' => $links, + 'links' => $links ? theme('links', $links) : '', 'new' => $comment->new ? t('new') : '', 'picture' => theme_get_setting('toggle_comment_user_picture') ? theme('user_picture', $comment) : '', 'submitted' => t('Submitted by %a on %b.', |