Switch order of literals to prevent NullPointerException

This commit is contained in:
pixeebot[bot] 2025-07-28 13:53:30 +00:00 committed by GitHub
parent 1d1522bd7a
commit 380f490073
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -563,7 +563,7 @@ public class AdminSettingsController {
String lowerPath = fullPath.toLowerCase();
// Don't mask premium.key specifically
if (lowerField.equals("key") && lowerPath.equals("premium.key")) {
if ("key".equals(lowerField) && "premium.key".equals(lowerPath)) {
return false;
}