Index: modules/watchdog.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/watchdog.module,v
retrieving revision 1.128
diff -u -r1.128 watchdog.module
--- modules/watchdog.module	7 Oct 2005 06:09:13 -0000	1.128
+++ modules/watchdog.module	7 Oct 2005 06:48:40 -0000
@@ -89,6 +89,7 @@
   );
 
   $form['submit'] = array(type => 'submit', value =>t('Filter'));
+  $output  = drupal_get_form('watchdog_form_overview', $form);
 
   $header = array(
     ' ',
@@ -122,7 +123,6 @@
     $rows[] = array(array('data' => t('No log messages available.'), 'colspan' => '7'));
   }
 
-  $output  = drupal_get_form('watchdog_form_overview', $form);
   $output .= theme('table', $header, $rows);
   $output .= theme('pager', NULL, 50, 0, tablesort_pager());
 
