diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-06-20 14:11:30 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-06-20 14:11:30 -0300 |
commit | 264e625fd51bdff804ff4dd01c83479d936ef7a0 (patch) | |
tree | 61c992da05a3913a89a6114c47300570cc38d758 /config | |
parent | 0e308ae3683406ea0560fd2211093fb35b014296 (diff) | |
download | pfsense-packages-264e625fd51bdff804ff4dd01c83479d936ef7a0.tar.gz pfsense-packages-264e625fd51bdff804ff4dd01c83479d936ef7a0.tar.bz2 pfsense-packages-264e625fd51bdff804ff4dd01c83479d936ef7a0.zip |
Remove call-time pass by reference since pfblocker_validate_input() has the reference on its prototype
Diffstat (limited to 'config')
-rw-r--r-- | config/pf-blocker/pfblocker.php | 2 | ||||
-rwxr-xr-x | config/pf-blocker/pfblocker.xml | 2 | ||||
-rwxr-xr-x | config/pf-blocker/pfblocker_lists.xml | 2 | ||||
-rw-r--r-- | config/pf-blocker/pfblocker_sync.xml | 2 | ||||
-rw-r--r-- | config/pf-blocker/pfblocker_topspammers.xml | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/config/pf-blocker/pfblocker.php b/config/pf-blocker/pfblocker.php index 17fb10e7..50214142 100644 --- a/config/pf-blocker/pfblocker.php +++ b/config/pf-blocker/pfblocker.php @@ -249,7 +249,7 @@ $xml= <<<EOF pfblocker_php_deinstall_command(); </custom_php_deinstall_command> <custom_php_validation_command> - pfblocker_validate_input(\$_POST, &\$input_errors); + pfblocker_validate_input(\$_POST, \$input_errors); </custom_php_validation_command> <custom_php_resync_config_command> sync_package_pfblocker(); diff --git a/config/pf-blocker/pfblocker.xml b/config/pf-blocker/pfblocker.xml index 44658bcb..ffc138f5 100755 --- a/config/pf-blocker/pfblocker.xml +++ b/config/pf-blocker/pfblocker.xml @@ -241,7 +241,7 @@ pfblocker_php_deinstall_command(); </custom_php_deinstall_command> <custom_php_validation_command> - pfblocker_validate_input($_POST, &$input_errors); + pfblocker_validate_input($_POST, $input_errors); </custom_php_validation_command> <custom_php_resync_config_command> sync_package_pfblocker(); diff --git a/config/pf-blocker/pfblocker_lists.xml b/config/pf-blocker/pfblocker_lists.xml index f1798d36..50782ea1 100755 --- a/config/pf-blocker/pfblocker_lists.xml +++ b/config/pf-blocker/pfblocker_lists.xml @@ -246,7 +246,7 @@ pfblocker_php_deinstall_command(); </custom_php_deinstall_command> <custom_php_validation_command> - pfblocker_validate_input($_POST, &$input_errors); + pfblocker_validate_input($_POST, $input_errors); </custom_php_validation_command> <custom_php_resync_config_command> sync_package_pfblocker(); diff --git a/config/pf-blocker/pfblocker_sync.xml b/config/pf-blocker/pfblocker_sync.xml index e2e19567..67b49db1 100644 --- a/config/pf-blocker/pfblocker_sync.xml +++ b/config/pf-blocker/pfblocker_sync.xml @@ -138,7 +138,7 @@ pfblocker_php_deinstall_command(); </custom_php_deinstall_command> <custom_php_validation_command> - pfblocker_validate_input($_POST, &$input_errors); + pfblocker_validate_input($_POST, $input_errors); </custom_php_validation_command> <custom_php_resync_config_command> sync_package_pfblocker(); diff --git a/config/pf-blocker/pfblocker_topspammers.xml b/config/pf-blocker/pfblocker_topspammers.xml index 2536cf80..e7d95e21 100644 --- a/config/pf-blocker/pfblocker_topspammers.xml +++ b/config/pf-blocker/pfblocker_topspammers.xml @@ -158,7 +158,7 @@ pfblocker_php_deinstall_command(); </custom_php_deinstall_command> <custom_php_validation_command> - pfblocker_validate_input($_POST, &$input_errors); + pfblocker_validate_input($_POST, $input_errors); </custom_php_validation_command> <custom_php_resync_config_command> sync_package_pfblocker(); |