Skip to content
Snippets Groups Projects
Verified Commit 5af4b7b8 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fix minor issues

parent 4e9bc1d7
No related branches found
No related tags found
No related merge requests found
Pipeline #3007 passed
......@@ -70,12 +70,12 @@ class Database
private function apply_config(\PDOStatement $stmt)
{
$values = [
":config_normalizatio" => 4,
":config_normalization" => 4,
":weight_content" => 4,
":weight_type" => 5,
":weight_time" => 1,
];
foreach ($this->rankingParameters() as $parameter) {
foreach ($this->backend->rankingParameters() as $parameter) {
$stmt->bindValue($parameter, $values[$parameter], PDO::PARAM_INT);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment