]> jfr.im git - uguu.git/blobdiff - src/Classes/Upload.php
fix html
[uguu.git] / src / Classes / Upload.php
index 7623e91cce496feb9d9c73e2dd196d6bdf7b8c68..17e79f8301f53e42d0eea7d5a16eca071f3fa22c 100644 (file)
@@ -86,11 +86,11 @@ class Upload extends Response
             $this->Connector->checkFileBlacklist($this->FILE_INFO);
         }
 
-        if ($this->Connector->CONFIG['FILTER_MODE'] and empty($this->FILE_INFO['EXTENSION'])) {
+        if ($this->Connector->CONFIG['FILTER_MODE'] && empty($this->FILE_INFO['EXTENSION'])) {
             $this->checkMimeBlacklist();
         }
 
-        if ($this->Connector->CONFIG['FILTER_MODE'] and !empty($this->FILE_INFO['EXTENSION'])) {
+        if ($this->Connector->CONFIG['FILTER_MODE'] && !empty($this->FILE_INFO['EXTENSION'])) {
             $this->checkMimeBlacklist();
             $this->checkExtensionBlacklist();
         }