Skip to content

Commit d9155b5

Browse files
committed
Only display warn about stats if opcache is in use
1 parent 70751e1 commit d9155b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

output/html/overview.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ public function output() {
356356
number_format_i18n( $cache_data->stats['cache_misses'], 0 )
357357
) );
358358
echo '</p>';
359-
} else {
359+
} elseif ( $cache_data->has ) {
360360
echo '<p><span class="qm-warn">';
361361
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
362362
echo QueryMonitor::icon( 'warning' );

0 commit comments

Comments
 (0)