Skip to content
Snippets Groups Projects
Commit 6e754ca6 authored by Demian Katz's avatar Demian Katz
Browse files

Small optimization.

parent cf219c1a
No related merge requests found
...@@ -73,7 +73,7 @@ class Params extends \VuFind\Search\Solr\Params ...@@ -73,7 +73,7 @@ class Params extends \VuFind\Search\Solr\Params
// For display purposes, undo the query manipulation performed above // For display purposes, undo the query manipulation performed above
// in initBasicSearch(): // in initBasicSearch():
$q = parent::getDisplayQuery(); $q = parent::getDisplayQuery();
return str_replace('\"', '"', substr($q, 1, strlen($q) - 2)); return str_replace('\"', '"', substr($q, 1, -1));
} }
/** /**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment