diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-05-07 21:00:36 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-05-07 21:00:36 +0000 |
commit | a161110a6ba10a43df67179263d62f201631e88d (patch) | |
tree | c6b146ed125d82487d6285c259cfb30346c310bc /modules/watchdog.module | |
parent | 9a62873a4beae8fe620dedcf7ca40954e12cc7cb (diff) | |
download | brdo-a161110a6ba10a43df67179263d62f201631e88d.tar.gz brdo-a161110a6ba10a43df67179263d62f201631e88d.tar.bz2 |
- Applied Michael Caerwyn's "%s -> %d" patch.
- Changed all occurences of '%d' to %d as suggested on the mailing list.
Diffstat (limited to 'modules/watchdog.module')
-rw-r--r-- | modules/watchdog.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/watchdog.module b/modules/watchdog.module index 712c6e372..9337d4bbf 100644 --- a/modules/watchdog.module +++ b/modules/watchdog.module @@ -65,7 +65,7 @@ function watchdog_overview($type) { function watchdog_view($id) { - $result = db_query("SELECT w.*, u.name, u.uid FROM watchdog w LEFT JOIN users u ON w.uid = u.uid WHERE w.wid = '%d'", $id); + $result = db_query("SELECT w.*, u.name, u.uid FROM watchdog w LEFT JOIN users u ON w.uid = u.uid WHERE w.wid = %d", $id); if ($watchdog = db_fetch_object($result)) { $output .= "<table border=\"1\" cellpadding=\"2\" cellspacing=\"2\">"; |