diff options
Diffstat (limited to 'media/mediaType.go')
-rw-r--r-- | media/mediaType.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/mediaType.go b/media/mediaType.go index f26209ea1..787579956 100644 --- a/media/mediaType.go +++ b/media/mediaType.go @@ -314,7 +314,7 @@ func DecodeTypes(maps ...map[string]interface{}) (Types, error) { _, delimiterSet := vm["delimiter"] _, suffixSet := vm["suffix"] - if mediaType.OldSuffix != "" { + if suffixSet { suffixIsDeprecated() } |