mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 17:14:42 +02:00
Bootstrap 5 template tweaks.
This commit is contained in:
@@ -626,7 +626,7 @@ class news_shortcodes extends e_shortcode
|
||||
|
||||
function sc_news_author_avatar($parm=null)
|
||||
{
|
||||
if(!empty($this->news_item['user_id']) && !empty($this->news_item['user_image']))
|
||||
if((!empty($this->news_item['user_id']) && !empty($this->news_item['user_image'])) || !empty($parm['placeholder']))
|
||||
{
|
||||
return e107::getParser()->toAvatar($this->news_item, $parm);
|
||||
}
|
||||
|
Reference in New Issue
Block a user