diff options
author | Phil Davis <phil.davis@inf.org> | 2016-07-07 16:09:48 +0930 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-07-18 11:06:47 -0400 |
commit | b6bd40128283113dc54c821e1e45d84c162fa935 (patch) | |
tree | d2f0b5d00648d1d4ef974554ae748f5ef92c691f | |
parent | 76a0eecb18f86a3497c65c5833037646a0008353 (diff) | |
download | pfsense-b6bd40128283113dc54c821e1e45d84c162fa935.zip pfsense-b6bd40128283113dc54c821e1e45d84c162fa935.tar.gz |
Show "cannot delete alias" message as error
If I try to delete an alias that is in use, the "cannot delete alias" message was being displayed as the "success" color.
(cherry picked from commit 04b571e836077c436d109d982be5a8e710ff8aab)
-rw-r--r-- | src/etc/inc/shaper.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/etc/inc/shaper.inc b/src/etc/inc/shaper.inc index ba84691..ae4e81e 100644 --- a/src/etc/inc/shaper.inc +++ b/src/etc/inc/shaper.inc @@ -2836,6 +2836,8 @@ class cbq_queue extends priq_queue { ($this->GetBorrow() == "on") )); + $sform->add($section); + return $sform; } |