aboutsummaryrefslogtreecommitdiffstats
path: root/config/lcdproc-dev/lcdproc.inc
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 /config/lcdproc-dev/lcdproc.inc
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
Diffstat (limited to 'config/lcdproc-dev/lcdproc.inc')
-rw-r--r--config/lcdproc-dev/lcdproc.inc8
1 files changed, 4 insertions, 4 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() {