diff options
author | Renato Botelho <renato@netgate.com> | 2016-06-08 14:52:47 -0400 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-06-08 19:03:52 -0400 |
commit | 1cdaa0dd5654edd3979163010f4e78756b2d9da9 (patch) | |
tree | b9eb23c7a5076532a6de1cf1ecdd8e7af3c39f15 /src/usr/local | |
parent | 3187d056a2175180b4d22d0502a3ac2c0c1c37ae (diff) | |
download | pfsense-1cdaa0dd5654edd3979163010f4e78756b2d9da9.zip pfsense-1cdaa0dd5654edd3979163010f4e78756b2d9da9.tar.gz |
Fix variable name s/POST/_POST/ and also parameter name s/complete/completed/
Diffstat (limited to 'src/usr/local')
-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'])) { |