Commit 631c6862 authored by Guillaume Bougard's avatar Guillaume Bougard Committed by Johan Cwiklinski
Browse files

fix: inventory import fails on found blacklisted value in model fields

parent 6b80c07a
......@@ -503,7 +503,7 @@ class Blacklist extends CommonDropdown {
&& preg_match('/^.+models_id/', $key)
&& '' == $this->process(self::MODEL, $value->$key)
) {
unset($value[$key]);
unset($value->$key);
}
}
}
......
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