fix for image-display $passed_ent_id -> ent_id
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 21 Aug 2002 10:10:52 +0000 (10:10 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 21 Aug 2002 10:10:52 +0000 (10:10 +0000)
Now we only use passed_ent_id in case of message/rfc822 attachments

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3384 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mime.php

index ac3b222a46837fca2436383b2899cfe0c447ab8a..ea36c5a077a17a7071f0dc39e881ada150c30b3a 100644 (file)
@@ -1214,7 +1214,7 @@ function sq_cid2http($message, $id, $cidurl, $mailbox){
     $cidurl = substr(trim($cidurl), 4);
     $httpurl = $quotchar . "../src/download.php?absolute_dl=true&amp;" .
         "passed_id=$id&amp;mailbox=" . urlencode($mailbox) .
-        "&amp;passed_ent_id=" . find_ent_id($cidurl, $message) . $quotchar;
+        "&amp;ent_id=" . find_ent_id($cidurl, $message) . $quotchar;
     return $httpurl;
 }