summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/firewall_shaper_queues_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_shaper_queues_edit.php b/usr/local/www/firewall_shaper_queues_edit.php
index 1075b4a..a0d6bc4 100755
--- a/usr/local/www/firewall_shaper_queues_edit.php
+++ b/usr/local/www/firewall_shaper_queues_edit.php
@@ -69,7 +69,7 @@ if ($_POST) {
$queue['schedulertype'] = $_POST['scheduler'];
$queue['bandwidth'] = $_POST['bandwidth'];
$queue['priority'] = $_POST['priority'];
- $queue['name'] = $_POST['name'];
+ $queue['name'] = ereg_replace(" ", "", $_POST['name']);
$scheduleroptions="";
if($_POST['red'] == "on")
OpenPOWER on IntegriCloud