Fix incorrect header check

This commit is contained in:
Matt Nadareski
2022-01-07 20:57:47 -08:00
parent d99f912ac2
commit 1872fbb1c8
2 changed files with 2 additions and 1 deletions

View File

@@ -40,6 +40,7 @@
- Fix IsReadOnly
- Only include booleans if the value is true
- Add hidden debug option for "ShowDebugViewMenuItem"
- Fix incorrect header check
### 2.2 (2021-12-30)
- Fix Saturn header finding

View File

@@ -30,7 +30,7 @@ namespace RedumpLib.Web
public string GetLastFilename()
{
// If the response headers are null or empty
if (ResponseHeaders == null || ResponseHeaders.Count != 0)
if (ResponseHeaders == null || ResponseHeaders.Count == 0)
return null;
// If we don't have the response header we care about