Skip to content

Commit

Permalink
Updated save search url length check to correct length
Browse files Browse the repository at this point in the history
  • Loading branch information
daveykropf committed Mar 16, 2016
1 parent c724e7c commit 3eb8324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static function save_search( $search_query, $total_hits, $search_url ) {
$search_query = substr( $search_query, 0, 200 );
}

if ( strlen( $search_url ) > 200 ) {
if ( strlen( $search_url ) > 255 ) {
$search_url = substr( $search_url, 0, 255 );
}

Expand Down

0 comments on commit 3eb8324

Please sign in to comment.