Commit 77d60153 authored by Jim Nelson's avatar Jim Nelson

Fix I noticed while working on 0.8 that has been reported by 0.7.1 user. ...

Fix I noticed while working on 0.8 that has been reported by 0.7.1 user.  Backported for inclusion in 0.7.2.
parent a5daf40e
......@@ -550,7 +550,7 @@ public class BatchImport : Object {
// and revert its edits.
LibraryPhoto photo = LibraryPhoto.global.get_trashed_by_file(prepared_file.file);
if (photo == null)
if (photo == null && prepared_file.full_md5 != null)
photo = LibraryPhoto.global.get_trashed_by_md5(prepared_file.full_md5);
if (photo != null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment