1
0
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:
Cameron
2022-04-06 14:21:35 -07:00
parent 214fcea1cd
commit 16354b3da0
10 changed files with 40 additions and 41 deletions

View File

@@ -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);
}