Fix missing keys on NameValue class #800

This commit is contained in:
Ramon Gutierrez 2024-05-14 17:49:14 +08:00
parent be0e69db89
commit 0bd6a89840

View file

@ -14,7 +14,7 @@ class NameValue
// filter from blacklist // filter from blacklist
foreach(static::COLLECTION as $key => $row) { foreach(static::COLLECTION as $key => $row) {
if (!isset($blacklist[$key])) { if (!isset($blacklist[$key])) {
$result[] = $row; $result[$key] = $row;
} }
} }