--- watchdognotify.module.old	Sun Aug 28 19:29:12 2005
+++ watchdognotify.module	Tue Sep 20 15:38:48 2005
@@ -25,7 +25,7 @@
 function watchdognotify_subscription($op, $arg1 = null, $arg2 = null) {
   if ($op == 'cron') {
     $events = array();
-    $result = db_query("SELECT * FROM watchdog WHERE timestamp>%d AND timestamp<=%d", $arg1, $arg2);
+    $result = db_query("SELECT * FROM {watchdog} WHERE timestamp>%d AND timestamp<=%d", $arg1, $arg2);
      while ($event = db_fetch_array($result)) {
       $events[] = $event;
     }  
@@ -45,4 +45,4 @@
 }
 
 
-?>
\ No newline at end of file
+?>
