diff --git a/include/version.php b/include/version.php
index 1caeaa4..37f3d79 100644
--- a/include/version.php
+++ b/include/version.php
@@ -822,9 +822,13 @@ class version {
$oM = new objectManager("voteManager", "Vote");
$oM->setReturnTo($this->objectMakeUrl());
// Votes
+ if($_SESSION['current']->isLoggedIn())
+ $shVoteLink = ' iUserId).'&iVersionId='.$this->iVersionId.'">Vote';
+ else
+ $shVoteLink = '';
echo html_tr(array(
"Votes",
- vote_count_version_total($this->iVersionId).' iUserId).'&iVersionId='.$this->iVersionId.'">Vote'),
+ vote_count_version_total($this->iVersionId).$shVoteLink),
"color0");
if($this->sTestedRating != "/" && $this->sTestedRating)