@@ -266,7 +266,7 @@ |
||
266 | 266 | foreach( (array) $this->val( $entry, 'config', [] ) as $cfg ) |
267 | 267 | { |
268 | 268 | if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) { |
269 | - $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
269 | + $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
270 | 270 | } |
271 | 271 | } |
272 | 272 |
@@ -369,7 +369,7 @@ |
||
369 | 369 | foreach( (array) $this->val( $entry, 'config', [] ) as $cfg ) |
370 | 370 | { |
371 | 371 | if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) { |
372 | - $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
372 | + $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
373 | 373 | } |
374 | 374 | } |
375 | 375 |
@@ -384,7 +384,7 @@ |
||
384 | 384 | foreach( (array) $this->val( $entry, 'config', [] ) as $cfg ) |
385 | 385 | { |
386 | 386 | if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) { |
387 | - $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
387 | + $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
388 | 388 | } |
389 | 389 | } |
390 | 390 |
@@ -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 |
@@ -525,7 +525,7 @@ |
||
525 | 525 | foreach( (array) $this->val( $data, 'config', [] ) as $cfg ) |
526 | 526 | { |
527 | 527 | if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) { |
528 | - $item->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
528 | + $item->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
529 | 529 | } |
530 | 530 | } |
531 | 531 |
@@ -505,7 +505,7 @@ |
||
505 | 505 | foreach( (array) $this->val( $data, 'config', [] ) as $cfg ) |
506 | 506 | { |
507 | 507 | if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) { |
508 | - $item->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
508 | + $item->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
509 | 509 | } |
510 | 510 | } |
511 | 511 |
@@ -500,7 +500,7 @@ |
||
500 | 500 | foreach( (array) $this->val( $data, 'config', [] ) as $entry ) |
501 | 501 | { |
502 | 502 | if( ( $key = trim( $entry['key'] ?? '' ) ) !== '' && ( $val = trim( $entry['val'] ?? '' ) ) !== '' ) { |
503 | - $conf[$key] = json_decode( $val, true ) ?? $val; |
|
503 | + $conf[$key] = json_decode( $val, true ) ?? $val; |
|
504 | 504 | } |
505 | 505 | } |
506 | 506 |
@@ -313,7 +313,7 @@ |
||
313 | 313 | foreach( (array) $this->val( $entry, 'config', [] ) as $cfg ) |
314 | 314 | { |
315 | 315 | if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) { |
316 | - $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
316 | + $listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val ); |
|
317 | 317 | } |
318 | 318 | } |
319 | 319 |
@@ -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 |