diff options
author | Phil Davis <phil.davis@inf.org> | 2017-01-23 11:03:31 +0545 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-23 11:03:31 +0545 |
commit | d799b94336d03c4fbf208f5d990028828b7c2f5c (patch) | |
tree | fb5945afdd95eade60f0633f549c169a8eee63cd /src/usr | |
parent | b2bb49709d6d1cb845f2c7caf40bebe375ecb2d7 (diff) | |
download | pfsense-d799b94336d03c4fbf208f5d990028828b7c2f5c.zip pfsense-d799b94336d03c4fbf208f5d990028828b7c2f5c.tar.gz |
interfaces.php display correct descr in group name message
Use the description that the user attempted to enter, not the original (and probably valid) description.
Diffstat (limited to 'src/usr')
-rwxr-xr-x | src/usr/local/www/interfaces.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php index 6010b95..330a5f2 100755 --- a/src/usr/local/www/interfaces.php +++ b/src/usr/local/www/interfaces.php @@ -509,7 +509,7 @@ if ($_POST['apply']) { if (is_array($config['ifgroups']['ifgroupentry'])) { foreach ($config['ifgroups']['ifgroupentry'] as $ifgroupentry) { if ($ifgroupentry['ifname'] == $_POST['descr']) { - $input_errors[] = sprintf(gettext("Sorry, an interface group with the name %s already exists."), $wancfg['descr']); + $input_errors[] = sprintf(gettext("Sorry, an interface group with the name %s already exists."), $_POST['descr']); } } } |