diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-06-20 16:09:43 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-06-20 16:09:43 -0300 |
commit | 3b36926e21cc782d49780f3d447803334a8d9c9b (patch) | |
tree | 448247939253eccce532f0b29b95d4ae16f7fe39 /config/squid | |
parent | 695190dc823e44c3c86804f4e291b1585125dd0b (diff) | |
download | pfsense-packages-3b36926e21cc782d49780f3d447803334a8d9c9b.tar.gz pfsense-packages-3b36926e21cc782d49780f3d447803334a8d9c9b.tar.bz2 pfsense-packages-3b36926e21cc782d49780f3d447803334a8d9c9b.zip |
Fix call-time pass by reference for all squid packages
Diffstat (limited to 'config/squid')
-rw-r--r-- | config/squid/squid.inc | 2 | ||||
-rw-r--r-- | config/squid/squid.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/squid/squid.inc b/config/squid/squid.inc index 9f7fe2b0..0ddd1645 100644 --- a/config/squid/squid.inc +++ b/config/squid/squid.inc @@ -278,7 +278,7 @@ function squid_deinstall_command() { filter_configure(); } -function squid_before_form_general($pkg) { +function squid_before_form_general(&$pkg) { $values = get_dir(SQUID_CONFBASE . '/errors/'); // Get rid of '..' and '.' array_shift($values); diff --git a/config/squid/squid.xml b/config/squid/squid.xml index 88bd94ec..67956229 100644 --- a/config/squid/squid.xml +++ b/config/squid/squid.xml @@ -320,7 +320,7 @@ </field> </fields> <custom_php_command_before_form> - squid_before_form_general(&$pkg); + squid_before_form_general($pkg); </custom_php_command_before_form> <custom_add_php_command> squid_resync(); |