diff --git a/e107_core/shortcodes/batch/comment_shortcodes.php b/e107_core/shortcodes/batch/comment_shortcodes.php
index 50fdcc83e..8de346fec 100644
--- a/e107_core/shortcodes/batch/comment_shortcodes.php
+++ b/e107_core/shortcodes/batch/comment_shortcodes.php
@@ -111,7 +111,7 @@ class comment_shortcodes extends e_shortcode
{
if ($thisaction == "comment" && $pref['nested_comments'])
{
- $REPLY = "";
+ $REPLY = "";
}
}
}
@@ -129,7 +129,7 @@ class comment_shortcodes extends e_shortcode
}
- function sc_comment_avatar($parm = '')
+ function sc_comment_avatar($parm = null)
{
$tp = e107::getParser();
@@ -141,7 +141,7 @@ class comment_shortcodes extends e_shortcode
$this->var = array_merge($this->var, $userdata);
}
- $text = $tp->toAvatar($this->var);
+ $text = $tp->toAvatar($this->var, $parm);
$text .= '
';
$text .= '
';
@@ -224,11 +224,11 @@ class comment_shortcodes extends e_shortcode
// e107::getDebug()->log($this->var);
- $text = " ";
+ $text = " ";
if($this->var['comment_blocked'] == 2) // pending approval.
{
- $text .= " ";
+ $text .= " ";
}
return $text;
/*
@@ -408,7 +408,7 @@ class comment_shortcodes extends e_shortcode
//Searching for '.' is BAD!!! It breaks mod rewritten requests. Why is this needed at all?
if (strpos(e_QUERY, "&") !== false)
{
- return "";
+ return "";
}
else
{
diff --git a/e107_core/templates/comment_template.php b/e107_core/templates/comment_template.php
index 0b7b8d5e8..6dd51d940 100644
--- a/e107_core/templates/comment_template.php
+++ b/e107_core/templates/comment_template.php
@@ -30,9 +30,9 @@ $COMMENT_WRAPPER['form'] = $COMMENT_WRAPPER['item']; // use the above wrappers f
$COMMENT_TEMPLATE['form'] = "
{SETIMAGE: w=90&h=90&crop=1}
-