diff --git a/themes/root/templates/RecordDriver/AbstractBase/export-refworks.phtml b/themes/root/templates/RecordDriver/AbstractBase/export-refworks.phtml index e16282303286212d41426b5454900861790d4027..1e09726cecfce779163bf5448b5a62af291bbeec 100644 --- a/themes/root/templates/RecordDriver/AbstractBase/export-refworks.phtml +++ b/themes/root/templates/RecordDriver/AbstractBase/export-refworks.phtml @@ -1,10 +1,12 @@ <? // A driver-specific template may pass in format overrides; check for these before going to the driver itself: $formats = isset($this->overrideFormats) ? $this->overrideFormats : $this->driver->tryMethod('getFormats'); -if (is_array($formats)) { +if (is_array($formats) && !empty($formats)) { foreach ($formats as $format) { echo "RT $format\n"; } +} else { + echo "RT Generic\n"; } $title = rtrim($this->driver->getTitle(), " /");