NO it's not a habit from me.
[squirrelmail.git] / functions / mime.php
index f912e8085e6528a368e52d59afa1795b63fab941..1419d58854dd7a859d3140abc07a842c07a9886a 100644 (file)
@@ -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