summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/pkg_mgr_install.php
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:02:26 -0400
commita915cb4cbef79a9197e2007326ba8f83fa101f12 (patch)
tree9ca48844c5738f42c0897ac24d765060927fae2e /src/usr/local/www/pkg_mgr_install.php
parent5fd5f7e78d671963672fd813182a3f2aefad3bbc (diff)
downloadpfsense-a915cb4cbef79a9197e2007326ba8f83fa101f12.zip
pfsense-a915cb4cbef79a9197e2007326ba8f83fa101f12.tar.gz
Fix variable name s/POST/_POST/ and also parameter name s/complete/completed/
Diffstat (limited to 'src/usr/local/www/pkg_mgr_install.php')
-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