Skip to content

Commit a4fea61

Browse files
committed
fix user conversion
1 parent d265dd0 commit a4fea61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaunchDarkly/LDContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ private static function decodeJsonOldUser(array $o, bool $wasParsedAsArray): LDC
844844
throw self::parsingBadTypeError($k);
845845
}
846846
foreach ((array)$v as $k1 => $v1) {
847-
if (!isAllowableUserCustomAttr($k1)) {
847+
if (isAllowableUserCustomAttr($k1)) {
848848
$b->set($k1, $v1);
849849
}
850850
}

0 commit comments

Comments
 (0)