summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-06-24 14:59:07 -0400
committerjim-p <jimp@pfsense.org>2012-06-24 14:59:07 -0400
commit58816510ae391de12e16a72e803336cfeb37c747 (patch)
tree88a4b6512ebca97114f8b2bc157557a51805874b
parentd94280cd85f5e603847aea50f96ce4d58a31439c (diff)
downloadpfsense-58816510ae391de12e16a72e803336cfeb37c747.zip
pfsense-58816510ae391de12e16a72e803336cfeb37c747.tar.gz
Fix hiding services in the widget that contain a space in the service name.
-rw-r--r--usr/local/www/widgets/widgets/services_status.widget.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/widgets/widgets/services_status.widget.php b/usr/local/www/widgets/widgets/services_status.widget.php
index 2d9aa1d..ec24101 100644
--- a/usr/local/www/widgets/widgets/services_status.widget.php
+++ b/usr/local/www/widgets/widgets/services_status.widget.php
@@ -194,7 +194,7 @@ if(isset($_POST['servicestatusfilter'])) {
<td class="widgetsubheader">&nbsp;</td>
</tr>
<?php
-$skipservices = explode(",", str_replace(" ", "", $config['widgets']['servicestatusfilter']));
+$skipservices = explode(",", $config['widgets']['servicestatusfilter']);
function service_name_compare($a, $b) {
if (strtolower($a['name']) == strtolower($b['name']))
OpenPOWER on IntegriCloud