From 986d138fe85367e1a9301d4bfa871c40f03ed341 Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 8 May 2014 16:16:36 -0400 Subject: Change style of call for pre-2.1 call-time pass-by-reference in System Patches (thanks-to: garga), bump. --- config/systempatches/system_patches_edit.php | 2 +- config/systempatches/systempatches.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'config/systempatches') diff --git a/config/systempatches/system_patches_edit.php b/config/systempatches/system_patches_edit.php index 0d45ce92..3e63038e 100644 --- a/config/systempatches/system_patches_edit.php +++ b/config/systempatches/system_patches_edit.php @@ -88,7 +88,7 @@ if ($_POST) { $pf_version=substr(trim(file_get_contents("/etc/version")),0,3); if ($pf_version < 2.1) - do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); + $input_errors = eval('do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); return $input_errors;'); else do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors); diff --git a/config/systempatches/systempatches.xml b/config/systempatches/systempatches.xml index 23b0795b..b9875140 100644 --- a/config/systempatches/systempatches.xml +++ b/config/systempatches/systempatches.xml @@ -40,7 +40,7 @@ None Applies patches supplied by the user to the firewall. System Patches - 1.0 + 1.0.2 System: Patches /usr/local/pkg/patches.inc -- cgit v1.2.3