Skip to content

Commit

Permalink
Update mysql.php
Browse files Browse the repository at this point in the history
[#34056] indexer does not work properly in languages with different decimal notation
  • Loading branch information
chrisdavenport committed Aug 14, 2014
1 parent d137a34 commit 55e1c52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ protected function addTokensToDB($tokens, $context = '')
. $db->quote($token->stem) . ', '
. (int) $token->common . ', '
. (int) $token->phrase . ', '
. (float) $token->weight . ', '
. str_replace(',', '.', (string) $token->weight) . ', '
. (int) $context . ', '
. $db->quote($token->language)
);
Expand Down

0 comments on commit 55e1c52

Please sign in to comment.