aboutsummaryrefslogtreecommitdiffstats
path: root/config/systempatches
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-05-08 16:16:36 -0400
committerjim-p <jimp@pfsense.org>2014-05-08 16:17:58 -0400
commit986d138fe85367e1a9301d4bfa871c40f03ed341 (patch)
treec54e97878968e2f8737153dc1fb84bcd803c4ee2 /config/systempatches
parent7f8d8abe25b31e9ab2fd28724d5f5a122e233cfa (diff)
downloadpfsense-packages-986d138fe85367e1a9301d4bfa871c40f03ed341.tar.gz
pfsense-packages-986d138fe85367e1a9301d4bfa871c40f03ed341.tar.bz2
pfsense-packages-986d138fe85367e1a9301d4bfa871c40f03ed341.zip
Change style of call for pre-2.1 call-time pass-by-reference in System Patches (thanks-to: garga), bump.
Diffstat (limited to 'config/systempatches')
-rw-r--r--config/systempatches/system_patches_edit.php2
-rw-r--r--config/systempatches/systempatches.xml2
2 files changed, 2 insertions, 2 deletions
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 @@
<requirements>None</requirements>
<faq>Applies patches supplied by the user to the firewall.</faq>
<name>System Patches</name>
- <version>1.0</version>
+ <version>1.0.2</version>
<title>System: Patches</title>
<include_file>/usr/local/pkg/patches.inc</include_file>
<menu>