Skip to content
Snippets Groups Projects

Resolved database exception related to unknown column.

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -277,7 +277,7 @@ class LinkExtractorBatch {
}
$query->fields('base', [$entityType->getKey('id')]);
if (!empty($bundle)) {
if (!empty($bundle) && $entityType->getKey('bundle')) {
$query->condition('base.' . $entityType->getKey('bundle'), $bundle);
}
Loading