Skip to content

Commit 1b78d49

Browse files
committed
#191: Fix key/attr
1 parent 9ea91f1 commit 1b78d49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Helpers/Json.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ private static function unsetArray(array &$json, array $data): void
213213
if (\in_array($key, $data, true) === false) {
214214
unset($v[JSONApiInterface::CONTENT_ATTRIBUTES][$key]);
215215
} else if ($attrsCase !== ConfigInterface::DEFAULT_CASE) {
216-
self::changeParamKey($json, $k, $v, $attrsCase);
216+
self::changeParamKey($json, $key, $attr, $attrsCase);
217217
}
218218
}
219219
}

0 commit comments

Comments
 (0)