summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-02-14 22:44:58 +0000
committerBharat Mediratta <bharat@menalto.com>2009-02-14 22:44:58 +0000
commitb7e75a191cfc4de4ceb56f7fc6d44938e347e352 (patch)
treea9c3259cd4d508edb51c20c8a43a1ee98688b660 /core
parent3bfe4a07bdad0c5a3b743919411b9576515d83a6 (diff)
Truncate url to 255 chars
Diffstat (limited to 'core')
-rw-r--r--core/helpers/log.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/log.php b/core/helpers/log.php
index 181efaa9..064833ea 100644
--- a/core/helpers/log.php
+++ b/core/helpers/log.php
@@ -77,7 +77,7 @@ class log_Core {
$log->message = $message;
$log->severity = $severity;
$log->html = $html;
- $log->url = url::abs_current(true);
+ $log->url = substr(url::abs_current(true), 0, 255);
$log->referer = request::referrer(null);
$log->timestamp = time();
if (module::is_installed("user")) {