瀏覽代碼

Remove needless code

pdontthink 5 年之前
父節點
當前提交
25598bc233
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      functions/attachment_common.php

+ 0 - 1
functions/attachment_common.php

@@ -269,7 +269,6 @@ function attachment_common_octet_stream(&$Args) {
 
 
     $Ext = '';
     $Ext = '';
     if (is_array($Regs) && isset($Regs[1])) {
     if (is_array($Regs) && isset($Regs[1])) {
-        $Ext = $Regs[1];
         $Ext = strtolower($Regs[1]);
         $Ext = strtolower($Regs[1]);
     }
     }