diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-07-25 08:58:56 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-07-25 08:58:56 -0300 |
commit | c8f89a406b747680c3168734ad3b68978036608f (patch) | |
tree | f9129f6c078d030bd1e337b60f8deb990642b96c | |
parent | cdcbc988efa2969babf24480d67d77eb6e009ab1 (diff) | |
download | pfsense-c8f89a406b747680c3168734ad3b68978036608f.zip pfsense-c8f89a406b747680c3168734ad3b68978036608f.tar.gz |
Fix field name that cannot contain spaces, and use displayname
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc index 5463c83..4c3d202 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc @@ -390,8 +390,9 @@ function step3_stepbeforeformdisplay() { $voipfields[] = $field; $field = array(); - $field['name'] = "Upstream SIP Server"; - $enablefields[] = "Upstream SIP Server"; + $field['displayname'] = "Upstream SIP Server"; + $field['name'] = "upstream_sip_server"; + $enablefields[] = "upstream_sip_server"; $field['type'] = "inputalias"; $field['description'] = "(Optional) If this is chosen, the provider field will be overridden. This allows you to provide the IP address of the <strong>remote</strong> PBX or SIP Trunk to prioritize. <br />NOTE: You can also use a Firewall Alias in this location."; $field['message'] = "IP Address field is non-blank and doesn't look like an IP address."; |