1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Return comment author ID with comments - specially for Luceos

This commit is contained in:
e107steved
2009-11-03 20:57:10 +00:00
parent c1e225cff8
commit 9a817a3f2b

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/comment_class.php,v $
| $Revision: 1.30 $
| $Date: 2009-11-01 20:21:13 $
| $Revision: 1.31 $
| $Date: 2009-11-03 20:57:10 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@@ -871,6 +871,7 @@ class comment
$ret['comment_datestamp'] = $row['comment_datestamp'];
//author - no ned to split now
$comment_author_id = $row['comment_author_id'];
$ret['comment_author_id'] = $comment_author_id ;
$comment_author_name = $row['comment_author_name'];
$ret['comment_author'] = (USERID ? "<a href='".e107::getUrl()->create('core:user', 'main', 'func=profile&id='.$comment_author_id)."'>".$comment_author_name."</a>" : $comment_author_name);
//comment text