summaryrefslogtreecommitdiff
path: root/modules/watchdog
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-05-07 21:00:36 +0000
committerDries Buytaert <dries@buytaert.net>2003-05-07 21:00:36 +0000
commita161110a6ba10a43df67179263d62f201631e88d (patch)
treec6b146ed125d82487d6285c259cfb30346c310bc /modules/watchdog
parent9a62873a4beae8fe620dedcf7ca40954e12cc7cb (diff)
downloadbrdo-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')
-rw-r--r--modules/watchdog/watchdog.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module
index 712c6e372..9337d4bbf 100644
--- a/modules/watchdog/watchdog.module
+++ b/modules/watchdog/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\">";