Skip to content

Commit

Permalink
#24 Remove redundant code from Guestbook fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sekmiller committed Feb 26, 2016
1 parent 1df2b0e commit d81764a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/edu/harvard/iq/dataverse/DatasetPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -1476,7 +1476,7 @@ public String saveGuestbookResponse(String type) {
} else {
for (FileMetadata fmd : this.selectedDownloadableFiles) {
DataFile df = fmd.getDataFile();
if (df != null && canDownloadFile(fmd)) {
if (df != null) {
this.guestbookResponse.setDataFile(df);
cmd = new CreateGuestbookResponseCommand(dvRequestService.getDataverseRequest(), this.guestbookResponse, dataset);
commandEngine.submit(cmd);
Expand Down

0 comments on commit d81764a

Please sign in to comment.