1
0

truncate to 255

This commit is contained in:
Garvin Hicking
2010-03-30 10:47:15 +00:00
parent 36f955285e
commit 9aff2df847
2 changed files with 5 additions and 0 deletions

View File

@ -739,6 +739,8 @@ function serendipity_track_referrer($entry = 0) {
$ts = serendipity_db_get_interval('ts');
$interval = serendipity_db_get_interval('interval', 900);
$url_parts['query'] = substr($url_parts['query'], 0, 255);
$suppressq = "SELECT count(1)
FROM $serendipity[dbPrefix]suppress