aboutsummaryrefslogtreecommitdiffstats
path: root/config/havp/havp.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-05-07 16:26:11 -0400
committerjim-p <jimp@pfsense.org>2014-05-07 16:26:11 -0400
commit05b0510a62bcc1da9841e981a52212477ad01c0e (patch)
treed0ae4df9635011240c9c808882b358cb2f0f56cd /config/havp/havp.inc
parent7d06b83962bef36aa6c33c748724a85b294964e2 (diff)
downloadpfsense-packages-05b0510a62bcc1da9841e981a52212477ad01c0e.tar.gz
pfsense-packages-05b0510a62bcc1da9841e981a52212477ad01c0e.tar.bz2
pfsense-packages-05b0510a62bcc1da9841e981a52212477ad01c0e.zip
Fix call-time pass-by-reference in HAVP, bump
Diffstat (limited to 'config/havp/havp.inc')
-rw-r--r--config/havp/havp.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/havp/havp.inc b/config/havp/havp.inc
index 29a109ba..f6e37a3b 100644
--- a/config/havp/havp.inc
+++ b/config/havp/havp.inc
@@ -234,11 +234,11 @@ function havp_deinstall()
# ==============================================================================
# before form
# ------------------------------------------------------------------------------
-function havp_before_form($pkg)
+function havp_before_form(&$pkg)
{
}
# ------------------------------------------------------------------------------
-function havp_fscan_before_form($pkg)
+function havp_fscan_before_form(&$pkg)
{
if(is_array($pkg['fields']['field'])) {
foreach($pkg['fields']['field'] as $key => $field) {
@@ -252,7 +252,7 @@ function havp_fscan_before_form($pkg)
# ------------------------------------------------------------------------------
# validation
# ------------------------------------------------------------------------------
-function havp_validate_settings($post, $input_errors)
+function havp_validate_settings($post, &$input_errors)
{
$submit = isset($_GET['submit']) ? $_GET['submit'] : $_POST['submit'];