'poll' => $this->poll,
]);
- $returnValues['resultTemplate'] = WCF::getTPL()->fetch('pollResult');
+ $returnValues['template'] = WCF::getTPL()->fetch('pollResult');
}
/**
'poll' => $this->poll,
]);
- $returnValues['voteTemplate'] = WCF::getTPL()->fetch('pollVote');
+ $returnValues['template'] = WCF::getTPL()->fetch('pollVote');
}
/**
// render vote template if votes are changeable
if ($this->poll->isChangeable) {
- $this->getVote($returnValues);
+ $this->getResult($returnValues);
}
$returnValues['canVote'] = $this->poll->isChangeable ? 1 : 0;