https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39013

            Bug ID: 39013
           Summary: Usage Stats: Always says "The value of your system
                    preference 'UsageStatsCountry' is not valid"
 Change sponsored?: ---
           Product: Koha
           Version: 24.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P5 - low
         Component: System Administration
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

Version: 24.11.01.000
In the "Share usage statistics" page (/admin/usage_statistics.tt), I get:

The value of your system preference 'UsageStatsCountry' is not valid (Selected
Country Name). Please select a valid one.

Also, the selection doesn't default to the saved value.

Adding ".trim" on line 103 where it compares the saved value to the one in the
loop for generating the options fixes it for me. No more message, and the
default selected is what was saved.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to