Browse Source

Fixed database error in Search.php

Signed-off-by: emanuele <[email protected]>
emanuele 12 years ago
parent
commit
9f20913011
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Sources/Search.php

+ 1 - 2
Sources/Search.php

@@ -1546,8 +1546,7 @@ function PlushSearch2()
 						$relevance .= $weight[$type];
 						if (!empty($value))
 							$relevance .= ' * ' . $value;
-						$relevance .= ' +
-							';
+						$relevance .= ' + ';
 						$new_weight_total += $weight[$type];
 					}
 					$main_query['select']['relevance'] = substr($relevance, 0, -3) . ') / ' . $new_weight_total . ' AS relevance';