|
@@ -200,7 +200,7 @@ discard block |
|
|
block discarded – undo |
|
200
|
200
|
if ($attrv === null || is_string($attrv) && strlen($attrv) === 0 || is_array($attrv) && count($attrv) === 0) { |
|
201
|
201
|
if (isset($value['required']) && $value['required'] === false || !isset($value['required'])) { |
|
202
|
202
|
$this->logger->debug('found attribute ['.$attr.'] but source attribute is empty, remove attribute from mapping', [ |
|
203
|
|
- 'category' => get_class($this), |
|
|
203
|
+ 'category' => get_class($this), |
|
204
|
204
|
]); |
|
205
|
205
|
|
|
206
|
206
|
return null; |
|
@@ -288,7 +288,7 @@ discard block |
|
|
block discarded – undo |
|
288
|
288
|
} |
|
289
|
289
|
|
|
290
|
290
|
$this->logger->debug('resolved value for attribute ['.$attribute.'] is an array but is not declared as an array, use first array element instead', [ |
|
291
|
|
- 'category' => get_class($this), |
|
|
291
|
+ 'category' => get_class($this), |
|
292
|
292
|
]); |
|
293
|
293
|
|
|
294
|
294
|
return current($value); |
Please login to merge, or discard this patch.