[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-cvs
Subject:    [SM-CVS] SF.net SVN: squirrelmail:[14871] trunk/squirrelmail/functions/ attachment_common.php
From:       pdontthink--- via squirrelmail-cvs <squirrelmail-cvs () lists ! sourceforge ! net>
Date:       2020-07-11 7:52:44
Message-ID: 1594453964.991133.27465 () sfp-scm-5 ! v30 ! lw ! sourceforge ! com
[Download RAW message or body]

Revision: 14871
          http://sourceforge.net/p/squirrelmail/code/14871
Author:   pdontthink
Date:     2020-07-11 07:52:44 +0000 (Sat, 11 Jul 2020)
Log Message:
-----------
Fix index value that was left over from 1.4.x

Modified Paths:
--------------
    trunk/squirrelmail/functions/attachment_common.php

Modified: trunk/squirrelmail/functions/attachment_common.php
===================================================================
--- trunk/squirrelmail/functions/attachment_common.php	2020-07-11 07:08:51 UTC (rev \
                14870)
+++ trunk/squirrelmail/functions/attachment_common.php	2020-07-11 07:52:44 UTC (rev \
14871) @@ -265,7 +265,7 @@
 //FIXME: or at least we can move this hook up to the top of this file where \
$FileExtensionToMimeType is defined.  What else is this hook here for?  What plugins \
use it?  do_hook('attachment_common-load_mime_types', $null);
 
-    preg_match('/\.([^.]+)$/', $Args[7], $Regs);
+    preg_match('/\.([^.]+)$/', $Args[6], $Regs);
 
     $Ext = '';
     if (is_array($Regs) && isset($Regs[1])) {

This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.



-----
squirrelmail-cvs mailing list
List address: squirrelmail-cvs@lists.sourceforge.net
List info (subscribe/unsubscribe/change options): \
                https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
Repository: http://squirrelmail.org/svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic