Commit 9528f219 authored by webchick's avatar webchick

Issue #2240019 by cs_shadow | alexpott: Incorrect API documentation in hook_ranking.

parent 574c5c47
......@@ -898,7 +898,7 @@ function hook_ranking() {
// always 0, should be 0.
'score' => 'vote_node_data.average / CAST(%f AS DECIMAL)',
// Pass in the highest possible voting score as a decimal argument.
'arguments' => array(\Drupal::config('vote.settings').get('score_max')),
'arguments' => array(\Drupal::config('vote.settings')->get('score_max')),
),
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment