@@ -, +, @@ 'Choice' --- installer/data/mysql/atomicupdate/bug_27351.sql | 1 + installer/data/mysql/updatedatabase.pl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 installer/data/mysql/atomicupdate/bug_27351.sql --- a/installer/data/mysql/atomicupdate/bug_27351.sql +++ a/installer/data/mysql/atomicupdate/bug_27351.sql @@ -0,0 +1, @@ +UPDATE systempreferences SET `type` = 'Choice' WHERE `variable` = 'UsageStatsCountry'; --- a/installer/data/mysql/updatedatabase.pl +++ a/installer/data/mysql/updatedatabase.pl @@ -8873,7 +8873,7 @@ if ( CheckVersion($DBversion) ) { q{ INSERT INTO systempreferences (variable, value, options, explanation, type ) VALUES - ('UsageStatsCountry', '', NULL, 'The country where your library is located, to be shown on the Hea Koha community website', 'YesNo'), + ('UsageStatsCountry', '', NULL, 'The country where your library is located, to be shown on the Hea Koha community website', 'Choice'), ('UsageStatsID', '', NULL, 'This preference is part of Koha but it should not be deleted or updated manually.', 'Free'), ('UsageStatsLastUpdateTime', '', NULL, 'This preference is part of Koha but it should not be deleted or updated manually.', 'Free'), ('UsageStatsLibraryName', '', NULL, 'The library name to be shown on Hea Koha community website', 'Free'), --