@@ -315,7 +315,7 @@ |
||
315 | 315 | foreach( (array) $this->val( $entry, 'config', [] ) as $cfg ) |
316 | 316 | { |
317 | 317 | if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) { |
318 | - $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
318 | + $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
319 | 319 | } |
320 | 320 | } |
321 | 321 |
@@ -360,7 +360,7 @@ |
||
360 | 360 | foreach( (array) $this->val( $entry, 'config', [] ) as $cfg ) |
361 | 361 | { |
362 | 362 | if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) { |
363 | - $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
363 | + $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
364 | 364 | } |
365 | 365 | } |
366 | 366 |
@@ -309,7 +309,7 @@ |
||
309 | 309 | foreach( (array) $this->val( $entry, 'config', [] ) as $cfg ) |
310 | 310 | { |
311 | 311 | if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) { |
312 | - $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
312 | + $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
313 | 313 | } |
314 | 314 | } |
315 | 315 |
@@ -358,7 +358,7 @@ |
||
358 | 358 | foreach( (array) $this->val( $entry, 'config', [] ) as $cfg ) |
359 | 359 | { |
360 | 360 | if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) { |
361 | - $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
361 | + $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
362 | 362 | } |
363 | 363 | } |
364 | 364 |
@@ -309,7 +309,7 @@ |
||
309 | 309 | foreach( (array) $this->val( $entry, 'config', [] ) as $cfg ) |
310 | 310 | { |
311 | 311 | if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) { |
312 | - $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
312 | + $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
313 | 313 | } |
314 | 314 | } |
315 | 315 |
@@ -468,7 +468,7 @@ |
||
468 | 468 | foreach( (array) $this->val( $data, 'config', [] ) as $cfg ) |
469 | 469 | { |
470 | 470 | if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) { |
471 | - $item->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
471 | + $item->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
472 | 472 | } |
473 | 473 | } |
474 | 474 |
@@ -502,7 +502,7 @@ |
||
502 | 502 | foreach( (array) $this->val( $data, 'config', [] ) as $entry ) |
503 | 503 | { |
504 | 504 | if( ( $key = trim( $entry['key'] ?? '' ) ) !== '' && ( $val = trim( $entry['val'] ?? '' ) ) !== '' ) { |
505 | - $conf[$key] = json_decode( $val, true ) ?? $val; |
|
505 | + $conf[$key] = json_decode( $val, true ) ?? $val; |
|
506 | 506 | } |
507 | 507 | } |
508 | 508 |
@@ -468,7 +468,7 @@ |
||
468 | 468 | foreach( (array) $this->val( $data, 'config', [] ) as $entry ) |
469 | 469 | { |
470 | 470 | if( ( $key = trim( $entry['key'] ?? '' ) ) !== '' && ( $val = trim( $entry['val'] ?? '' ) ) !== '' ) { |
471 | - $conf[$key] = json_decode( $val, true ) ?? $val; |
|
471 | + $conf[$key] = json_decode( $val, true ) ?? $val; |
|
472 | 472 | } |
473 | 473 | } |
474 | 474 |
@@ -358,7 +358,7 @@ |
||
358 | 358 | foreach( (array) $this->val( $entry, 'config', [] ) as $cfg ) |
359 | 359 | { |
360 | 360 | if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) { |
361 | - $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
361 | + $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
362 | 362 | } |
363 | 363 | } |
364 | 364 |