From 3be0b1b765c4774bb4d603f7f45db505405ad9d4 Mon Sep 17 00:00:00 2001
From: putro <putro@autistici.org>
Date: Mon, 30 Oct 2023 17:13:42 +0100
Subject: [PATCH] fix

---
 wp-mat.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/wp-mat.php b/wp-mat.php
index 4d8c3e6..af56c19 100644
--- a/wp-mat.php
+++ b/wp-mat.php
@@ -30,7 +30,8 @@ class WP_Mat {
     function is_supported_mime_type($mimetype) {
         if (substr($mimetype, 0, 6) === "video/") {
             return false;
-        if (substr($mimetype, 0, 15) === "application/pdf") {
+        }
+        if ($mimetype === "application/pdf") {
             return false;
         }
         return true;
-- 
GitLab