diff --git a/themes/fid_bbi/templates/RecordDriver/DefaultRecord/result-list.phtml b/themes/fid_bbi/templates/RecordDriver/DefaultRecord/result-list.phtml index 9e03fd6084edcb54187d4bc29ec8e4a6fb761e5d..7dcf0d0eb703ad61db3f1eb39c74a7a6adc67c1e 100644 --- a/themes/fid_bbi/templates/RecordDriver/DefaultRecord/result-list.phtml +++ b/themes/fid_bbi/templates/RecordDriver/DefaultRecord/result-list.phtml @@ -5,7 +5,7 @@ */ $account = $this->auth()->getManager(); -$format = ($this->driver->tryMethod('getFormats') ?? ['Unknown format'])[0]; +$format = ($this->driver->tryMethod('getFormats') ?: ['Unknown format'])[0]; $icon = $this->record($this->driver)->getIconMapping($format); ?>