[geeklog-cvs] geeklog: Comments were always showing the username, even when $_...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Jan 17 10:50:33 EST 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/6470a0d263f3
changeset: 6681:6470a0d263f3
user: Dirk Haun <dirk at haun-online.de>
date: Sat Jan 17 16:48:55 2009 +0100
description:
Comments were always showing the username, even when $_CONF['show_fullname'] was enabled (reported and patch provided by mystral-kk, bug #0000800)
diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
public_html/docs/history | 2 ++
system/lib-comment.php | 6 ++----
diffs (42 lines):
diff -r 9f806b0e5cf0 -r 6470a0d263f3 public_html/docs/history
--- a/public_html/docs/history Sat Jan 17 12:46:40 2009 +0100
+++ b/public_html/docs/history Sat Jan 17 16:48:55 2009 +0100
@@ -3,6 +3,8 @@
Jan ??, 2009 (1.5.2)
------------
+- Comments were always showing the username, even when $_CONF['show_fullname']
+ was enabled (reported and patch provided by mystral-kk, bug #0000800)
- Fixed story preview losing the story when the sid already existed (bug
#0000789) [Dirk]
- Fixed wrong use of str_replace in STORY_extractLinks (bug #0000794) [Dirk]
diff -r 9f806b0e5cf0 -r 6470a0d263f3 system/lib-comment.php
--- a/system/lib-comment.php Sat Jan 17 12:46:40 2009 +0100
+++ b/system/lib-comment.php Sat Jan 17 16:48:55 2009 +0100
@@ -8,7 +8,7 @@
// | |
// | Geeklog comment library. |
// +---------------------------------------------------------------------------+
-// | Copyright (C) 2000-2008 by the following authors: |
+// | Copyright (C) 2000-2009 by the following authors: |
// | |
// | Authors: Tony Bibbs - tony AT tonybibbs DOT com |
// | Mark Limburg - mlimburg AT users DOT sourceforge DOT net |
@@ -32,8 +32,6 @@
// | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
// | |
// +---------------------------------------------------------------------------+
-//
-// $Id: lib-comment.php,v 1.69 2008/09/21 08:37:11 dhaun Exp $
if (strpos(strtolower($_SERVER['PHP_SELF']), 'lib-comment.php') !== false) {
die('This file can not be used on its own!');
@@ -326,7 +324,7 @@
$template->set_var( 'end_author_anchortag', '</a>' );
$template->set_var( 'author_link',
COM_createLink(
- $A['username'],
+ $fullname,
$_CONF['site_url'] . '/users.php?mode=profile&uid=' . $A['uid']
)
);
More information about the geeklog-cvs
mailing list