1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-15 11:04:18 +02:00

Fixes #2476 - News Author Avatar

This commit is contained in:
Cameron
2017-03-03 13:04:49 -08:00
parent 57cf98bec5
commit a08a589fd7
3 changed files with 17 additions and 16 deletions

View File

@@ -303,7 +303,6 @@ class news_shortcodes extends e_shortcode
public function sc_news_author_signature($parm=null)
{
$user = e107::user($this->news_item['user_id']);
if(!empty($user['user_signature']))
@@ -420,7 +419,9 @@ class news_shortcodes extends e_shortcode
{
if(!empty($this->news_item['user_id']))
{
return e107::getParser()->toAvatar($this->news_item['user_id'], $parm);
return e107::getParser()->toAvatar($this->news_item, $parm);
}
}