summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/base_media_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base_media_func.h b/src/base_media_func.h
index 650506f90..e3678d5a1 100644
--- a/src/base_media_func.h
+++ b/src/base_media_func.h
@@ -100,7 +100,7 @@ bool BaseSet<T, Tnum_files, Tsearch_in_tars>::FillSetDetails(IniFile *ini, const
/* Then find the MD5 checksum */
item = md5s->GetItem(filename, false);
- if (item == NULL) {
+ if (item == NULL || item->value == NULL) {
DEBUG(grf, 0, "No MD5 checksum specified for: %s (in %s)", filename, full_filename);
return false;
}