From a161110a6ba10a43df67179263d62f201631e88d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 7 May 2003 21:00:36 +0000 Subject: - Applied Michael Caerwyn's "%s -> %d" patch. - Changed all occurences of '%d' to %d as suggested on the mailing list. --- modules/watchdog.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/watchdog.module') 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 .= ""; -- cgit v1.2.3