summaryrefslogtreecommitdiff
path: root/core/helpers/log.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-21 03:56:53 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-21 03:56:53 +0000
commit3ce32dab5517c0774a65da3494b1c84d930818f1 (patch)
tree57acde0ef55cd121449212c69316ac04656be5b8 /core/helpers/log.php
parentf0b633334416ecb86de0356a06932fcf78efbfb7 (diff)
Report actual log entries in the "log entries" admin block.
Diffstat (limited to 'core/helpers/log.php')
-rw-r--r--core/helpers/log.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/helpers/log.php b/core/helpers/log.php
index fece9de3..906aa034 100644
--- a/core/helpers/log.php
+++ b/core/helpers/log.php
@@ -39,6 +39,7 @@ class log_Core {
$log->url = url::abs_current(true);
$log->referer = request::referrer(null);
$log->timestamp = time();
+ $log->user_id = user::active()->id;
$log->save();
}
}