summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-09-21 19:12:35 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-09-21 19:12:35 -0400
commit978fd2e812453268712d4bae07b3f685976f7d6b (patch)
tree08aa14e41bd901156838128a7f869bae705d789e /etc/inc/pfsense-utils.inc
parentda5cbcbf502526c659b937cac04c739672064b50 (diff)
downloadpfsense-978fd2e812453268712d4bae07b3f685976f7d6b.zip
pfsense-978fd2e812453268712d4bae07b3f685976f7d6b.tar.gz
Pass origname instead of relying on a global
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 36abc54..db15675 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1798,8 +1798,8 @@ if(!function_exists("split")) {
}
}
-function update_alias_names_upon_change($section, $subsection, $fielda, $fieldb, $new_alias_name) {
- global $g, $config, $pconfig, $origname, $debug;
+function update_alias_names_upon_change($section, $subsection, $fielda, $fieldb, $new_alias_name, $origname) {
+ global $g, $config, $pconfig, $debug;
if(!$origname)
return;
OpenPOWER on IntegriCloud