Skip to content

Commit

Permalink
Fix ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed May 15, 2023
1 parent a2d1a97 commit d00c6f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/jabref/logic/util/UpdateField.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ public static void setAutomaticFields(Collection<BibEntry> entries, OwnerPrefere
}

String defaultOwner = ownerPreferences.getDefaultOwner();
String timestamp = timestampPreferences.now();
boolean overwriteOwner = ownerPreferences.isOverwriteOwner();
String timestamp = timestampPreferences.now();

for (BibEntry curEntry : entries) {
boolean setOwner = globalSetOwner && (overwriteOwner || (!curEntry.hasField(StandardField.OWNER)));
Expand Down

0 comments on commit d00c6f5

Please sign in to comment.