Fetching the subject for the messages-to-be-attached went wrong. $i
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 21 Jul 2003 15:01:23 +0000 (15:01 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 21 Jul 2003 15:01:23 +0000 (15:01 +0000)
commita2388eb782bc8b1a2543adac15b745ecb55d9fbc
tree64796da62496245be6448dc831cf887ae49f1e87
parentc464f51a61357f17c0105be87658a37dc76a1830
Fetching the subject for the messages-to-be-attached went wrong. $i
and $start_message have no relation to the indices of the $msg array. Fix
this by looping the $msgs array until we find the message with the right
id and take that subject. Closes #772371. Is it possible given an ID to fetch the
subject of a message in a more efficient way?

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