diff --git a/include/version.php b/include/version.php
index 3d0a36e..740291c 100644
--- a/include/version.php
+++ b/include/version.php
@@ -836,17 +836,24 @@ class version {
// main URL
echo "
| URL | ".$appLinkURL." |
\n";
- $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).$shVoteLink),
- "color0");
+ if(!$this->iObsoleteBy)
+ {
+ $oM = new objectManager("voteManager", "Vote");
+ $oM->setReturnTo($this->objectMakeUrl());
+
+ if($_SESSION['current']->isLoggedIn())
+ $shVoteLink = ' iUserId).'&iVersionId='.$this->iVersionId.'">Vote';
+ else
+ $shVoteLink = '';
+
+ $shVoteText = vote_count_version_total($this->iVersionId).$shVoteLink;
+ } else
+ {
+ $shVoteText = 'Marked as obsolete';
+ }
+
+ echo html_tr(array('Votes', $shVoteText), 'color0');
$sRating = $this->sTestedRating;
$sRelease = $this->sTestedRelease;