forked from Qortal/qortal
Force archiveEnabled to false if we're in top only mode.
Most of the code handles this case anyway, but it's an easy place for bugs to be created. So it's safest to enforce it at the settings level.
This commit is contained in:
parent
63a35c97bc
commit
8aaf720b0b
@ -616,6 +616,9 @@ public class Settings {
|
|||||||
|
|
||||||
|
|
||||||
public boolean isArchiveEnabled() {
|
public boolean isArchiveEnabled() {
|
||||||
|
if (this.topOnly) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return this.archiveEnabled;
|
return this.archiveEnabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user