summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-03-08 17:44:10 +0000
committerDries Buytaert <dries@buytaert.net>2001-03-08 17:44:10 +0000
commitfc6eaa5e8358da811aa4a300ee2cb0b5f590c1eb (patch)
tree12f2c5ccdbe929ec93038dcc5ebfe6b8ad85b58c /includes
parentf83b469919d008c0cc04f4f038dcef2b17c5b0a9 (diff)
downloadbrdo-fc6eaa5e8358da811aa4a300ee2cb0b5f590c1eb.tar.gz
brdo-fc6eaa5e8358da811aa4a300ee2cb0b5f590c1eb.tar.bz2
*** empty log message ***
Diffstat (limited to 'includes')
-rw-r--r--includes/watchdog.inc2
1 files changed, 1 insertions, 1 deletions
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) {