mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-08-16 13:47:28 +02:00
Switch order of literals to prevent NullPointerException
This commit is contained in:
parent
1d1522bd7a
commit
380f490073
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user