diff --git a/includes/admin/class-wc-admin-log-table-list.php b/includes/admin/class-wc-admin-log-table-list.php
index 6410b17b85e..09b1db29744 100644
--- a/includes/admin/class-wc-admin-log-table-list.php
+++ b/includes/admin/class-wc-admin-log-table-list.php
@@ -200,26 +200,22 @@ class WC_Admin_Log_Table_List extends WP_List_Table {
ORDER BY source ASC
" );
- $source_count = count( $sources );
-
- if ( ! $source_count ) {
- return;
+ if ( ! empty( $sources ) ) {
+ $selected_source = isset( $_REQUEST['source'] ) ? $_REQUEST['source'] : '';
+ ?>
+
+
+
-
-
-