summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-07-25 08:35:10 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-07-25 08:35:10 -0300
commit6f1d690cc1ba69cfc7eeb97395a9108b35de80fe (patch)
tree90ef9a029d2a9a9493c743bdca36e438167906c5 /usr/local/www/wizards
parent52cacff8edc3346b39f795f197028c03b4305fe8 (diff)
downloadpfsense-6f1d690cc1ba69cfc7eeb97395a9108b35de80fe.zip
pfsense-6f1d690cc1ba69cfc7eeb97395a9108b35de80fe.tar.gz
Fix field name that cannot contain spaces, and use displayname
Diffstat (limited to 'usr/local/www/wizards')
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
index a1296bb..7b2ff68 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
@@ -425,8 +425,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.";
OpenPOWER on IntegriCloud