From c6c7077010e5484db79ef0c8f13c8c56dd6869ad Mon Sep 17 00:00:00 2001
From: Dorian Merz <merz@ub.uni-leipzig.de>
Date: Fri, 27 Aug 2021 08:55:29 +0200
Subject: [PATCH] quickfix typo - use ternary operator instead of null coalesce

---
 .../templates/RecordDriver/DefaultRecord/result-list.phtml      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/fid_bbi/templates/RecordDriver/DefaultRecord/result-list.phtml b/themes/fid_bbi/templates/RecordDriver/DefaultRecord/result-list.phtml
index 9e03fd6084e..7dcf0d0eb70 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);
 ?>
 
-- 
GitLab