Skip to content

Commit

Permalink
Update components/com_newsfeeds/models/newsfeed.php
Browse files Browse the repository at this point in the history
  • Loading branch information
TBK0000 committed Dec 5, 2011
1 parent 8aed8e1 commit 25cb831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_newsfeeds/models/newsfeed.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function &getItem($pk = null)
$query->join('LEFT', '#__categories AS c on c.id = a.catid');

// Join on user table.
$query->select('u.name AS author');
$query->select('CONCAT_WS(' ', u.firstname, u.middlename, u.surname) AS author');
$query->join('LEFT', '#__users AS u on u.id = a.created_by');

// Join over the categories to get parent category titles
Expand Down

0 comments on commit 25cb831

Please sign in to comment.