summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-06-08 14:52:47 -0400
committerRenato Botelho <renato@netgate.com>2016-06-08 19:03:52 -0400
commit1cdaa0dd5654edd3979163010f4e78756b2d9da9 (patch)
treeb9eb23c7a5076532a6de1cf1ecdd8e7af3c39f15
parent3187d056a2175180b4d22d0502a3ac2c0c1c37ae (diff)
downloadpfsense-1cdaa0dd5654edd3979163010f4e78756b2d9da9.zip
pfsense-1cdaa0dd5654edd3979163010f4e78756b2d9da9.tar.gz
Fix variable name s/POST/_POST/ and also parameter name s/complete/completed/
-rw-r--r--src/usr/local/www/pkg_mgr_install.php2
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'])) {
OpenPOWER on IntegriCloud