diff --git a/html/includes/graphs/application/shoutcast_multi_bits.inc.php b/html/includes/graphs/application/shoutcast_multi_bits.inc.php
index 1cadfa439..06f158510 100644
--- a/html/includes/graphs/application/shoutcast_multi_bits.inc.php
+++ b/html/includes/graphs/application/shoutcast_multi_bits.inc.php
@@ -27,7 +27,7 @@ $i = 0;
if ($handle = opendir($rrddir)) {
while (false !== ($file = readdir($handle))) {
if ($file != '.' && $file != '..') {
- if (stripos($file, 'app-shoutcast-'.$app['app_id'])) {
+ if (stripos($file, 'app-shoutcast-'.$app['app_id']) != false) {
array_push($files, $file);
}
}
diff --git a/html/includes/graphs/application/shoutcast_multi_stats.inc.php b/html/includes/graphs/application/shoutcast_multi_stats.inc.php
index 1af206bb8..2e2819e84 100644
--- a/html/includes/graphs/application/shoutcast_multi_stats.inc.php
+++ b/html/includes/graphs/application/shoutcast_multi_stats.inc.php
@@ -15,7 +15,7 @@ $x = 0;
if ($handle = opendir($rrddir)) {
while (false !== ($file = readdir($handle))) {
if ($file != '.' && $file != '..') {
- if (stripos($file, 'app-shoutcast-'.$app['app_id'])) {
+ if (stripos($file, 'app-shoutcast-'.$app['app_id']) !== false) {
array_push($files, $file);
}
}