diff options
author | jim-p <jimp@pfsense.org> | 2014-05-09 14:21:06 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-05-09 14:21:06 -0400 |
commit | a890380266da7f589b809701bd3d0e8ac715e82f (patch) | |
tree | a945271d302e0a5386ddedf2fbcebcf000ad2cf0 /config/lcdproc-dev/lcdproc.inc | |
parent | d4b90b36268048a2c1c90512ce4087f4bd574b14 (diff) | |
download | pfsense-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.inc | 8 |
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() { |