فهرست منبع

fixes attachment links when viewing messages from search results

jmunro 23 سال پیش
والد
کامیت
f00aea8423
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      functions/mime.php

+ 1 - 1
functions/mime.php

@@ -456,7 +456,7 @@ function formatAttachments($message, $exclude_id, $mailbox, $id) {
                      . "&passed_id=$id&mailbox=$urlMailbox"
                      . '&ent_id='.$ent.$passed_ent_id_link;
         if ($where && $what) {
-           $defaultlink = '&where='. urlencode($where).'&what='.urlencode($what);
+           $defaultlink .= '&where='. urlencode($where).'&what='.urlencode($what);
         }
         /* This executes the attachment hook with a specific MIME-type.
          * If that doesn't have results, it tries if there's a rule