Skip to content

Commit a8b071b

Browse files
authored
Merge pull request #60 from mlocati-forks/fix-deleted-attributekey
Fix viewing export batch when an attribute key is deleted
2 parents 7867fd0 + 7d2231b commit a8b071b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PortlandLabs/Concrete5/MigrationTool/Exporter/Item/Type/AttributeKey.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function getResultColumns(ExportItem $exportItem)
3131
{
3232
$ak = Key::getInstanceByID($exportItem->getItemIdentifier());
3333

34-
return array($ak->getAttributeKeyDisplayName());
34+
return array($ak ? $ak->getAttributeKeyDisplayName() : h('<' . t('Deleted Attribute Key') . '>'));
3535
}
3636

3737
public function getItemsFromRequest($array)

0 commit comments

Comments
 (0)