Skip to content

Commit 92bb20d

Browse files
committed
Reset fix code style
1 parent 2125967 commit 92bb20d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Item.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ public function copy()
614614
// value currently in the data array, which may be fallback-language data of the source item.
615615
foreach (\array_keys($arrNewData) as $strColName) {
616616
$attribute = $metaModel->getAttribute($strColName);
617-
if (!$attribute instanceof ITranslated) {
617+
if (null === $attribute || $attribute instanceof ITranslated) {
618618
continue;
619619
}
620620
$objCopy->dirtyAttributes[$strColName] = true;

0 commit comments

Comments
 (0)