Fix PHP notice
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 20 Jun 2022 05:55:19 +0000 (05:55 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 20 Jun 2022 05:55:19 +0000 (05:55 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14973 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/view_text.php

index 0ee4a94d80fa731b6ce62d38a755cf8169a83ac1..3e48ce7d43957714ff68e062433621ca135608b1 100644 (file)
@@ -39,7 +39,7 @@ if (!is_object($message)) {
 }
 $message_ent = $message->getEntity($ent_id);
 if ($passed_ent_id) {
-    $message = &$message->getEntity($passed_ent_id);
+    $message = $message->getEntity($passed_ent_id);
 }
 $header   = $message_ent->header;
 $type0    = $header->type0;