Skip to content

Commit aeee991

Browse files
author
Backstage
committed
fix: attach media files to duplicated content
1 parent ea725a1 commit aeee991

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Fields/Base.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -207,14 +207,6 @@ public static function getFieldValueFromRecord(Model $record, Field $field): mix
207207
->orWhere('ulid', $field->ulid);
208208
})->first();
209209

210-
if ($field->slug === 'banner-image') {
211-
\Illuminate\Support\Facades\Log::info('[BASE DEBUG] getFieldValueFromRecord relation check', [
212-
'field_ulid' => $field->ulid,
213-
'record_key' => $record->getKey(),
214-
'found' => (bool) $fieldValue,
215-
'sql' => $values->where('field_ulid', $field->ulid)->toSql(),
216-
]);
217-
}
218210
$result = $fieldValue ? self::resolveHydratedValue($fieldValue) : null;
219211
}
220212
}

0 commit comments

Comments
 (0)