summaryrefslogtreecommitdiff
path: root/core/helpers/log.php
diff options
context:
space:
mode:
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();
}
}