summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-02-22 14:26:23 -0500
committerjim-p <jimp@pfsense.org>2011-02-22 14:29:57 -0500
commit2d1298ce8381c11ad2bc02c9f18f9c385daa6f0c (patch)
tree1e362baace1e8eb7022ae0787fc9c4bef34bdfae /usr/local
parent8364184a866a6fb0f75b3368eb27f0c4fc3b4d7b (diff)
downloadpfsense-2d1298ce8381c11ad2bc02c9f18f9c385daa6f0c.zip
pfsense-2d1298ce8381c11ad2bc02c9f18f9c385daa6f0c.tar.gz
Reset this var before this test, otherwise if the test is skipped, it will carry over the value from the previous run.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/pkg_mgr_installed.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/pkg_mgr_installed.php b/usr/local/www/pkg_mgr_installed.php
index 02fb8d3..78a3362 100755
--- a/usr/local/www/pkg_mgr_installed.php
+++ b/usr/local/www/pkg_mgr_installed.php
@@ -129,6 +129,7 @@ include("head.inc");
}
} else {
// unknown available package version
+ $pkgver = "";
if(!strcmp($pkg['version'], $latest_package)) {
$tdclass = "listr";
$pkgver = $pkg['version'];
OpenPOWER on IntegriCloud