Commit 3dc389e9 authored by Johan Cwiklinski's avatar Johan Cwiklinski Committed by Johan Cwiklinski
Browse files

Fix wrong operator

parent fa79f651
......@@ -827,7 +827,7 @@ class RuleCollection extends CommonDBTM {
'FROM' => 'glpi_rules',
'WHERE' => [
'sub_type' => $this->getRuleClassName(),
['ranking' => ['=>', $rank]],
['ranking' => ['>=', $rank]],
['ranking' => ['<', $old_rank]]
]
]);
......
Supports Markdown
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