Commit 52b3c3d7 authored by iruiz's avatar iruiz

follow code review

parent 9a7bb2db
Pipeline #11125 failed with stages
......@@ -34,7 +34,7 @@ class PackService
return true;
}
foreach ($restriction_pack as $pack) {
if (array_key_exists($pack, $this->list_pack) && ($this->list_pack[$pack] = true)) {
if (array_key_exists($pack, $this->list_pack) && ($this->list_pack[$pack] === true)) {
return true;
}
}
......
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