diff --git a/src/PortlandLabs/Concrete5/MigrationTool/Exporter/Item/Type/AttributeKey.php b/src/PortlandLabs/Concrete5/MigrationTool/Exporter/Item/Type/AttributeKey.php index 61b0eff3..884f9bd8 100644 --- a/src/PortlandLabs/Concrete5/MigrationTool/Exporter/Item/Type/AttributeKey.php +++ b/src/PortlandLabs/Concrete5/MigrationTool/Exporter/Item/Type/AttributeKey.php @@ -31,7 +31,7 @@ public function getResultColumns(ExportItem $exportItem) { $ak = Key::getInstanceByID($exportItem->getItemIdentifier()); - return array($ak->getAttributeKeyDisplayName()); + return array($ak ? $ak->getAttributeKeyDisplayName() : h('<' . t('Deleted Attribute Key') . '>')); } public function getItemsFromRequest($array)