aboutsummaryrefslogtreecommitdiffstats
path: root/config/clamav.inc
diff options
context:
space:
mode:
authorMartin Fuchs <trendchiller@users.noreply.github.com>2014-06-10 15:48:33 +0200
committerMartin Fuchs <trendchiller@users.noreply.github.com>2014-06-10 15:48:33 +0200
commit0ef20f92b5bea3d3487c249d515f905d09f859a7 (patch)
tree76101c20efe2f68b0f455070f1f077058e52868d /config/clamav.inc
parentff5060af8732ef9bd55a95537f3705c7382e19e0 (diff)
parentb2bea6eac166ab17ed1e5776ea32d822f459a914 (diff)
downloadpfsense-packages-0ef20f92b5bea3d3487c249d515f905d09f859a7.tar.gz
pfsense-packages-0ef20f92b5bea3d3487c249d515f905d09f859a7.tar.bz2
pfsense-packages-0ef20f92b5bea3d3487c249d515f905d09f859a7.zip
Merge pull request #1 from pfsense/master
update fork
Diffstat (limited to 'config/clamav.inc')
-rw-r--r--config/clamav.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/clamav.inc b/config/clamav.inc
index 3aaaf71d..036f69cb 100644
--- a/config/clamav.inc
+++ b/config/clamav.inc
@@ -108,7 +108,7 @@ EOD;
}
}
-function clamav_before_form($pkg) {
+function clamav_before_form(&$pkg) {
global $config;
if (is_package_installed('p3scan')) {
@@ -203,15 +203,15 @@ function clamav_before_form($pkg) {
}
}
-function clamav_validate_input($post, $input_errors) {
+function clamav_validate_input($post, &$input_errors) {
if ($post['scan_smtp'] == 'on') {
require_once('clamsmtp.inc');
- clamsmtp_validate_input($post, &$input_errors);
+ clamsmtp_validate_input($post, $input_errors);
}
if (is_package_installed('viralator')) {
require_once('viralator.inc');
- viralator_validate_input($post, &$input_errors);
+ viralator_validate_input($post, $input_errors);
}
}