diff options
author | Renato Botelho <renato@netgate.com> | 2016-01-14 09:14:28 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-01-14 09:14:28 -0200 |
commit | 9178860e1ef1ec5f4531e3fe7fcd53c56ee6caf6 (patch) | |
tree | 5c404bbf456d679e3de2d6e8b094cd8423f927b4 | |
parent | 284788bb37b2b158319c93904f5d08506d01f5c8 (diff) | |
parent | 1dbbc135b1cf144b3269a410ee3eb67ce9d8d64a (diff) | |
download | pfsense-9178860e1ef1ec5f4531e3fe7fcd53c56ee6caf6.zip pfsense-9178860e1ef1ec5f4531e3fe7fcd53c56ee6caf6.tar.gz |
Merge pull request #2425 from phil-davis/patch-3
-rw-r--r-- | src/usr/local/www/pkg_mgr_install.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php index a09cc82..05d96e0 100644 --- a/src/usr/local/www/pkg_mgr_install.php +++ b/src/usr/local/www/pkg_mgr_install.php @@ -228,7 +228,7 @@ if ($_POST) { case 'reinstallall': $headline = gettext("Reinstall all packages"); case 'reinstallpkg': - if ($_GET['from'] && $_GET['from']) { + if ($_GET['from'] && $_GET['to']) { $headline = gettext("Upgrade package"); } else { $headline = gettext("Reinstall package"); @@ -304,7 +304,7 @@ if ($input_errors) { ?> <?=gettext("All packages will be reinstalled.");?> <?php - } else if ($_GET['from'] && $_GET['from']) { + } else if ($_GET['from'] && $_GET['to']) { ?> Package: <b><?=$pkgname;?></b> will be upgraded from <b><?=$_GET['from']?></b> to <b><?=$_GET['to']?></b>. <?php |