Permalink
Browse files

Fix single quoted words in advanced search

  • Loading branch information...
1 parent e6f551a commit 498635939d44d0d136ca548896d7d14a6823a8c1 @markkevans markkevans committed with haraldpdl Nov 8, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 catalog/includes/functions/general.php
@@ -666,7 +666,7 @@ function tep_parse_search_string($search_str = '', &$objects) {
// Turn the flag off for future iterations
$flag = 'off';
- $objects[] = trim($pieces[$k]);
+ $objects[] = trim(preg_replace('/"/', ' ', $pieces[$k]));
for ($j=0; $j<count($post_objects); $j++) {
$objects[] = $post_objects[$j];

0 comments on commit 4986359

Please sign in to comment.