From 86c3c3c95bcd17bcb0c418402e8a97a0ad78f7b1 Mon Sep 17 00:00:00 2001 From: Mark Unwin Date: Tue, 19 Mar 2024 13:44:14 +1000 Subject: [PATCH] Do not translate names in select dropdowns on Read templates. --- app/Views/shared/read_functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Views/shared/read_functions.php b/app/Views/shared/read_functions.php index a21458754..226d831e7 100644 --- a/app/Views/shared/read_functions.php +++ b/app/Views/shared/read_functions.php @@ -231,14 +231,14 @@ function read_select(string $name = '', string $value = '', string $dictionary = if ($item->attributes->value === '') { $selected .= ' label="none"'; } - $return .= " \n"; + $return .= " \n"; } else if (!empty($item->type) and $item->type === 'discovery_scan_options') { $return .= " \n"; } else { if ($item->id === '') { $selected .= ' label="none"'; } - $return .= " \n"; + $return .= " \n"; } } $return .= " \n";