mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Modify package version checking to use false instead of -1.
This commit is contained in:
parent
0f0c5a982c
commit
31eaad07fd
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user