Visual Console Refactor: bug fix

Former-commit-id: a2a05a2129873fdb6b2325211c490ad8f9263b16
This commit is contained in:
Alejandro Gallardo Escobar 2019-04-16 15:04:54 +02:00
parent 58b074b006
commit 7acee06a00
1 changed files with 1 additions and 4 deletions

View File

@ -147,10 +147,7 @@ final class ColorCloud extends Item
$result = [];
try {
$dynamicData = \json_decode(
\base64_decode($dynamicDataEncoded),
true
);
$dynamicData = \json_decode($dynamicDataEncoded, true);
$result['defaultColor'] = $dynamicData['default_color'];
$result['colorRanges'] = [];