1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-19 05:28:10 +01:00

Fix for default avatar on comment form.

This commit is contained in:
Cameron 2013-06-23 19:05:30 -07:00
parent b0922e3bae
commit 8d4a1be162

View File

@ -104,11 +104,9 @@ class comment_shortcodes extends e_shortcode
function sc_comment_avatar($parm='')
{
$tp = e107::getParser();
//
$text = $tp->parseTemplate("{USER_AVATAR=".vartrue($this->var['user_image'])."}");
$tp = e107::getParser();
$text = $tp->parseTemplate("{USER_AVATAR=".vartrue($this->var['user_image'],USERIMAGE)."}");
$text .= "<div class='field-help' style='display:none;'>
<div class='left'>";
$text .= "<h2>".$this->sc_username()."</h2>";