Skip to content

Commit

Permalink
Restoring earlier fix to weights
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackwar committed Jun 13, 2021
1 parent 8bff8b8 commit 09e482f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -536,7 +536,7 @@ protected function addTokensToDb($tokens, $context = '')
. $db->quote($token->stem) . ', '
. (int) $token->common . ', '
. (int) $token->phrase . ', '
. $db->quote($token->weight) . ', '
. $db->escape((float) $token->weight) . ', '
. (int) $context . ', '
. $db->quote($token->language)
);
Expand Down

0 comments on commit 09e482f

Please sign in to comment.