voteInspector: View the info in objectManager's edit mode

This commit is contained in:
Alexander Nicolaysen Sørnes
2009-07-22 20:30:18 +02:00
parent 1dfb1a24c6
commit 028d51d85d
2 changed files with 22 additions and 2 deletions

View File

@@ -875,7 +875,7 @@ class version {
if($_SESSION['current']->hasPriv('admin'))
{
$oMVoteInspector = new objectManager('voteInspector', 'Vote inspector');
$shVoteLink .= ' &nbsp; <a href="'.$oMVoteInspector->makeUrl('view',$this->iVersionId).'">Inspect</a>';
$shVoteLink .= ' &nbsp; <a href="'.$oMVoteInspector->makeUrl('edit',$this->iVersionId).'">Inspect</a>';
}
$shVoteText = vote_count_version_total($this->iVersionId).$shVoteLink;