Commit 16b28d68 authored by Adrien Clairembault's avatar Adrien Clairembault Committed by Johan Cwiklinski
Browse files

Fix forgotten reference to _names

parent 597dd074
......@@ -1069,7 +1069,7 @@ abstract class API extends CommonGLPI {
}
if (count($params['add_keys_names']) > 0) {
$fields["_names"] = $this->getFriendlyNames(
$fields["_keys_names"] = $this->getFriendlyNames(
$fields,
$params,
$itemtype
......
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