Modify package version checking to use false instead of -1.

This commit is contained in:
Colin Smith 2005-03-20 05:09:37 +00:00
parent 0f0c5a982c
commit 31eaad07fd

View File

@ -78,7 +78,7 @@ include("fbegin.inc");
<td class="listlr">
<?php
$latest_version = get_latest_package_version($pkg['name']);
if($latest_version == -1) {
if($latest_version == false) {
// We can't determine this package's version status.
echo "Current version unkown.<br>Installed: " . $pkg['version'];
} elseif($pkg['version'] <> $latest_version) {