set correct entity_id
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 1 Aug 2002 10:46:18 +0000 (10:46 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 1 Aug 2002 10:46:18 +0000 (10:46 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3228 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/attachment_common.php

index 4f1967f849c4d911e6cbc92f3800a377fab9bc6e..91604d03c4828da70a7bf9d5f7ffb138691c50f5 100644 (file)
@@ -96,7 +96,9 @@ function attachment_common_link_text(&$Args)
        
     global $QUERY_STRING;
     $Args[1]['attachment_common']['href'] = '../src/view_text.php?'. $QUERY_STRING;
-    
+    $Args[1]['attachment_common']['href'] =
+          set_url_var($Args[1]['attachment_common']['href'], 
+         'passed_ent_id',$Args[5]);
   
     /* The link that we created needs a name.  "view" will be displayed for
        all text attachments handled by this plugin. */