aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-05-09 14:21:06 -0400
committerjim-p <jimp@pfsense.org>2014-05-09 14:21:06 -0400
commita890380266da7f589b809701bd3d0e8ac715e82f (patch)
treea945271d302e0a5386ddedf2fbcebcf000ad2cf0
parentd4b90b36268048a2c1c90512ce4087f4bd574b14 (diff)
downloadpfsense-packages-a890380266da7f589b809701bd3d0e8ac715e82f.tar.gz
pfsense-packages-a890380266da7f589b809701bd3d0e8ac715e82f.tar.bz2
pfsense-packages-a890380266da7f589b809701bd3d0e8ac715e82f.zip
Fix call-time pass-by-reference in lcdproc-dev, bump
-rw-r--r--config/lcdproc-dev/lcdproc.inc8
-rw-r--r--config/lcdproc-dev/lcdproc.xml8
-rw-r--r--config/lcdproc-dev/lcdproc_screens.xml4
-rw-r--r--pkg_config.10.xml2
-rw-r--r--pkg_config.8.xml2
-rw-r--r--pkg_config.8.xml.amd642
6 files changed, 13 insertions, 13 deletions
diff --git a/config/lcdproc-dev/lcdproc.inc b/config/lcdproc-dev/lcdproc.inc
index 8b3ce28f..00768cd7 100644
--- a/config/lcdproc-dev/lcdproc.inc
+++ b/config/lcdproc-dev/lcdproc.inc
@@ -58,17 +58,17 @@
fclose($handle);
chmod($file, 0755);
}
- function before_form_lcdproc($pkg) {
+ function before_form_lcdproc(&$pkg) {
global $config;
config_lock();
config_unlock();
}
- function before_form_lcdproc_screens($pkg) {
+ function before_form_lcdproc_screens(&$pkg) {
global $config;
config_lock();
config_unlock();
}
- function validate_form_lcdproc($post, $input_errors) {
+ function validate_form_lcdproc($post, &$input_errors) {
if($post['comport']) {
switch($post['comport']) {
case "none":
@@ -126,7 +126,7 @@
}
}
}
- function validate_form_lcdproc_screens($post, $input_errors) {
+ function validate_form_lcdproc_screens($post, &$input_errors) {
// No validation required ?!
}
function sync_package_lcdproc_screens() {
diff --git a/config/lcdproc-dev/lcdproc.xml b/config/lcdproc-dev/lcdproc.xml
index cf816d53..588b898b 100644
--- a/config/lcdproc-dev/lcdproc.xml
+++ b/config/lcdproc-dev/lcdproc.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<packagegui>
- <title>Services: LCDproc 0.5.6 pkg v. 0.9.7</title>
+ <title>Services: LCDproc 0.5.6 pkg v. 0.9.9</title>
<name>lcdproc</name>
- <version>0.5.6 pkg v. 0.9.7</version>
+ <version>0.5.6 pkg v. 0.9.9</version>
<savetext>Save</savetext>
<include_file>/usr/local/pkg/lcdproc.inc</include_file>
<tabs>
@@ -658,10 +658,10 @@
</field>
</fields>
<custom_php_command_before_form>
- before_form_lcdproc(&amp;$pkg);
+ before_form_lcdproc($pkg);
</custom_php_command_before_form>
<custom_php_validation_command>
- validate_form_lcdproc($_POST, &amp;$input_errors);
+ validate_form_lcdproc($_POST, $input_errors);
</custom_php_validation_command>
<custom_php_resync_config_command>
sync_package_lcdproc();
diff --git a/config/lcdproc-dev/lcdproc_screens.xml b/config/lcdproc-dev/lcdproc_screens.xml
index f7c70086..9f4a8e2e 100644
--- a/config/lcdproc-dev/lcdproc_screens.xml
+++ b/config/lcdproc-dev/lcdproc_screens.xml
@@ -106,10 +106,10 @@
</field>
</fields>
<custom_php_command_before_form>
- before_form_lcdproc_screens(&amp;$pkg);
+ before_form_lcdproc_screens($pkg);
</custom_php_command_before_form>
<custom_php_validation_command>
- validate_form_lcdproc_screens($_POST, &amp;$input_errors);
+ validate_form_lcdproc_screens($_POST, $input_errors);
</custom_php_validation_command>
<custom_php_resync_config_command>
sync_package_lcdproc_screens();
diff --git a/pkg_config.10.xml b/pkg_config.10.xml
index 531f37cb..c2859517 100644
--- a/pkg_config.10.xml
+++ b/pkg_config.10.xml
@@ -1000,7 +1000,7 @@
<descr>LCD display driver - Development version</descr>
<website>http://www.lcdproc.org/</website>
<category>Utility</category>
- <version>lcdproc-0.5.6 pkg v. 0.9.8</version>
+ <version>lcdproc-0.5.6 pkg v. 0.9.9</version>
<status>BETA</status>
<required_version>2.2</required_version>
<maintainer>michele@nt2.it</maintainer>
diff --git a/pkg_config.8.xml b/pkg_config.8.xml
index 3e1a7c0e..30047046 100644
--- a/pkg_config.8.xml
+++ b/pkg_config.8.xml
@@ -1305,7 +1305,7 @@
<descr>LCD display driver - Development version</descr>
<website>http://www.lcdproc.org/</website>
<category>Utility</category>
- <version>lcdproc-0.5.6 pkg v. 0.9.8</version>
+ <version>lcdproc-0.5.6 pkg v. 0.9.9</version>
<status>BETA</status>
<required_version>2.0</required_version>
<maintainer>michele@nt2.it</maintainer>
diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64
index 6ad058cc..ebe74c1e 100644
--- a/pkg_config.8.xml.amd64
+++ b/pkg_config.8.xml.amd64
@@ -1292,7 +1292,7 @@
<descr>LCD display driver - Development version</descr>
<website>http://www.lcdproc.org/</website>
<category>Utility</category>
- <version>lcdproc-0.5.6 pkg v. 0.9.8</version>
+ <version>lcdproc-0.5.6 pkg v. 0.9.9</version>
<status>BETA</status>
<required_version>2.0</required_version>
<maintainer>michele@nt2.it</maintainer>