diff --git a/e107_handlers/rate_class.php b/e107_handlers/rate_class.php index 58a919578..244372c62 100644 --- a/e107_handlers/rate_class.php +++ b/e107_handlers/rate_class.php @@ -69,10 +69,17 @@ class rater { } $template = vartrue($options['template'], " STATUS |RATE|VOTES"); + + $identifier = $table.'-'.$id; + + if(!empty($options['uniqueId'])) + { + $identifier .= '-'.$options['uniqueId']; + } - $TEMPLATE['STATUS'] = " "; - $TEMPLATE['RATE'] = "
"; - $TEMPLATE['VOTES'] = "
".$this->renderVotes($votes,$score)."
"; + $TEMPLATE['STATUS'] = " "; + $TEMPLATE['RATE'] = "
"; + $TEMPLATE['VOTES'] = "
".$this->renderVotes($votes,$score)."
"; $tmp = explode("|",$template);