diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-09-21 19:12:35 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-09-21 19:12:35 -0400 |
commit | 978fd2e812453268712d4bae07b3f685976f7d6b (patch) | |
tree | 08aa14e41bd901156838128a7f869bae705d789e /etc/inc/pfsense-utils.inc | |
parent | da5cbcbf502526c659b937cac04c739672064b50 (diff) | |
download | pfsense-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.inc | 4 |
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; |