diff options
author | Renato Botelho <renato@netgate.com> | 2016-06-08 14:52:47 -0400 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-06-08 14:52:47 -0400 |
commit | 0067c9a75095d9010d47b580f2798dc3029c7add (patch) | |
tree | faf6bbcaea109f9b8f958135b1cf9638c8286a25 /src/usr | |
parent | 88689d028924a2eb1c923a70d5460ad35ed9c7c1 (diff) | |
download | pfsense-0067c9a75095d9010d47b580f2798dc3029c7add.zip pfsense-0067c9a75095d9010d47b580f2798dc3029c7add.tar.gz |
Fix variable name s/POST/_POST/ and also parameter name s/complete/completed/
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/pkg_mgr_install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php index 942b207..677e3b7 100644 --- a/src/usr/local/www/pkg_mgr_install.php +++ b/src/usr/local/www/pkg_mgr_install.php @@ -284,7 +284,7 @@ if ($input_errors) { <form action="pkg_mgr_install.php" method="post" class="form-horizontal"> <?php -if (($POST['complete'] != "true") &&(empty($pkgmode) && $_GET['id']) || (!empty($pkgmode) && (!empty($_GET['pkg']) || $pkgmode == 'reinstallall'))): +if (($_POST['completed'] != "true") && (empty($pkgmode) && $_GET['id']) || (!empty($pkgmode) && (!empty($_GET['pkg']) || $pkgmode == 'reinstallall'))): if (empty($pkgmode) && $_GET['id']) { $pkgname = str_replace(array("<", ">", ";", "&", "'", '"', '.', '/'), "", htmlspecialchars_decode($_GET['id'], ENT_QUOTES | ENT_HTML401)); } else if (!empty($pkgmode) && !empty($_GET['pkg'])) { |