diff options
author | jim-p <jimp@pfsense.org> | 2014-05-07 16:26:11 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-05-07 16:26:11 -0400 |
commit | 05b0510a62bcc1da9841e981a52212477ad01c0e (patch) | |
tree | d0ae4df9635011240c9c808882b358cb2f0f56cd /config/havp/havp.inc | |
parent | 7d06b83962bef36aa6c33c748724a85b294964e2 (diff) | |
download | pfsense-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.inc | 6 |
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']; |