Index: branches/5.2.x/units/polls/poll_tp.php =================================================================== diff -u -N -r15140 -r15155 --- branches/5.2.x/units/polls/poll_tp.php (.../poll_tp.php) (revision 15140) +++ branches/5.2.x/units/polls/poll_tp.php (.../poll_tp.php) (revision 15155) @@ -1,6 +1,6 @@ getObject($params); + $object = $this->getObject($params); /* @var $object kDBItem */ if (!$object->GetDBField('AllowMultipleVotings')) { @@ -45,7 +45,7 @@ */ function HasCommented($params) { - $object =& $this->getObject($params); + $object = $this->getObject($params); /* @var $object kDBItem */ $spam_helper = $this->Application->recallObject('SpamHelper'); @@ -64,7 +64,7 @@ */ function PrintPoll($params) { - $object =& $this->getObject($params); + $object = $this->getObject($params); $sql = 'SELECT COUNT(AnswerNum), AnswerNum FROM '.TABLE_PREFIX.'PollsStatistics @@ -109,7 +109,7 @@ */ function CommentsLink($params) { - $object =& $this->getObject($params); + $object = $this->getObject($params); $params['pass'] = 'm,poll'; $params['poll_id'] = $object->GetID();