We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2125967 commit 92bb20dCopy full SHA for 92bb20d
1 file changed
src/Item.php
@@ -614,7 +614,7 @@ public function copy()
614
// value currently in the data array, which may be fallback-language data of the source item.
615
foreach (\array_keys($arrNewData) as $strColName) {
616
$attribute = $metaModel->getAttribute($strColName);
617
- if (!$attribute instanceof ITranslated) {
+ if (null === $attribute || $attribute instanceof ITranslated) {
618
continue;
619
}
620
$objCopy->dirtyAttributes[$strColName] = true;
0 commit comments