Skip to content

Commit

Permalink
Merge pull request octobercms#1677 from vojtasvoboda/patch-4
Browse files Browse the repository at this point in the history
Update RequestLog.php
  • Loading branch information
daftspunk committed Jan 15, 2016
2 parents d8922c2 + c6113f8 commit 33805df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/system/models/RequestLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static function add($statusCode = 404)
if (!DbDongle::hasDatabase()) return;

$record = static::firstOrNew([
'url' => Request::fullUrl(),
'url' => substr(Request::fullUrl(), 0, 255),
'status_code' => $statusCode,
]);

Expand Down

0 comments on commit 33805df

Please sign in to comment.