diff options
author | Ermal <eri@pfsense.org> | 2011-03-31 17:52:01 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-03-31 17:52:01 +0000 |
commit | bc7885617260468b4da4471d0b6b703053dd7ff8 (patch) | |
tree | 7678b24510b70d7d33263fadc0b0e246349dc421 /etc/inc/shaper.inc | |
parent | 57c448d034577386e67bdbd918bef973e0bb65ec (diff) | |
download | pfsense-bc7885617260468b4da4471d0b6b703053dd7ff8.zip pfsense-bc7885617260468b4da4471d0b6b703053dd7ff8.tar.gz |
Correct the conditional testing.
Diffstat (limited to 'etc/inc/shaper.inc')
-rw-r--r-- | etc/inc/shaper.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index 1bbf33c..b04cc77 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -1139,7 +1139,7 @@ class priq_queue { $form .= "<tr>"; $form .= "<td width=\"22%\" valign=\"center\" class=\"vncell\">Scheduler options</td>"; $form .= "<td width=\"78%\" class=\"vtable\">"; - if ($this->CanHaveChildren() && !empty($this->subqueues)) { + if (empty($this->subqueues)) { $tmpvalue = $this->GetDefault(); if (!empty($tmpvalue)) { $form .= "<input type=\"checkbox\" id=\"default\" CHECKED name=\"default\" value=\"default\""; |