summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/firewall_shaper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_shaper.php b/src/usr/local/www/firewall_shaper.php
index a4e35f7..4b008d4 100644
--- a/src/usr/local/www/firewall_shaper.php
+++ b/src/usr/local/www/firewall_shaper.php
@@ -198,7 +198,7 @@ if ($_GET) {
} else if ($addnewaltq) {
$q = new altq_root_queue();
} else {
- $input_errors[] = gettext("Could not create new queue/discipline!");
+ $input_errors[] = gettext("Could not create new queue/discipline! Did you remember to apply any recent changes?");
}
if ($q) {
@@ -461,7 +461,7 @@ if (count($altq_list_queues) > 0) {
<td>
<?php
-if (!$dfltmsg) {
+if (!$dfltmsg && $sform) {
// Add global buttons
if (!$dontshow || $newqueue) {
if ($can_add || $addnewaltq) {
OpenPOWER on IntegriCloud