Skip to content

Commit 5881651

Browse files
committed
Fix hiding services in the widget that contain a space in the service name.
1 parent d94280c commit 5881651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

usr/local/www/widgets/widgets/services_status.widget.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ function get_pkg_descr($package_name) {
194194
<td class="widgetsubheader">&nbsp;</td>
195195
</tr>
196196
<?php
197-
$skipservices = explode(",", str_replace(" ", "", $config['widgets']['servicestatusfilter']));
197+
$skipservices = explode(",", $config['widgets']['servicestatusfilter']);
198198

199199
function service_name_compare($a, $b) {
200200
if (strtolower($a['name']) == strtolower($b['name']))

0 commit comments

Comments
 (0)