X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fmove_messages.php;h=74320bf3874683c69a2ac4137c968ba94d2201b6;hb=46bb8da8de53e495aebabac0150e2f9a491aceae;hp=8573b8214abb30f69e850e28229e3211784402ad;hpb=d3cdb279bd61b172926b51d41d09c8a691d6c347;p=squirrelmail.git diff --git a/src/move_messages.php b/src/move_messages.php index 8573b821..74320bf3 100644 --- a/src/move_messages.php +++ b/src/move_messages.php @@ -1,93 +1,151 @@ -\n"; - - function putSelectedMessagesIntoString($msg) { - $j = 0; - $i = 0; - $firstLoop = true; - - // If they have selected nothing msg is size one still, but will be an infinite - // loop because we never increment j. so check to see if msg[0] is set or not to fix this. - while (($j < count($msg)) && ($msg[0])) { - if ($msg[$i]) { +