From 827755bed0ff4dfffbe3e35233424dfe07001e0a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 12 May 2002 16:13:37 +0000 Subject: - Fixed typo. --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index 541d479a9..73dfbb9a7 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -35,7 +35,7 @@ function error_handler($errno, $message, $filename, $line, $variables) { function watchdog($type, $message) { global $user; - db_query("INSERT INTO watchdog (uid, type, message, location, hostname, timestamp) VALUES ('$user->uid', '%s', '%s', '%s', '%s', '%s')", $type, $message, request_urih(), getenv("REMOTE_ADDR"), time()); + db_query("INSERT INTO watchdog (uid, type, message, location, hostname, timestamp) VALUES ('$user->uid', '%s', '%s', '%s', '%s', '%s')", $type, $message, request_uri(), getenv("REMOTE_ADDR"), time()); } function throttle($type, $rate) { -- cgit v1.2.3