From fc6eaa5e8358da811aa4a300ee2cb0b5f590c1eb Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 8 Mar 2001 17:44:10 +0000 Subject: *** empty log message *** --- includes/watchdog.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/watchdog.inc b/includes/watchdog.inc index 628fabcca..c0d68ed37 100644 --- a/includes/watchdog.inc +++ b/includes/watchdog.inc @@ -22,7 +22,7 @@ function watchdog($id, $message) { } // perform query to add new watchdog entry: - db_query("INSERT INTO watchdog (level, timestamp, user, message, location, hostname) VALUES ('". $watchdog[$id][0] ."', '". time() ."', '". check_input($user->id) ."', '". check_input($message) ."', '". check_input(getenv("REQUEST_URI")) ."', '". check_input(getenv("REMOTE_ADDR")) ."')"); + db_query("INSERT INTO watchdog (level, timestamp, user, message, location, hostname) VALUES ('". $watchdog[$id][0] ."', '". time() ."', '". check_input($user->id) ."', '". check_input(check_output($message)) ."', '". check_input(getenv("REQUEST_URI")) ."', '". check_input(getenv("REMOTE_ADDR")) ."')"); } function watchdog_clean($history = 302400) { -- cgit v1.2.3