X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fmove_messages.php;h=c234a5db085e7e43722f4f46734ae8b2ce2089c2;hb=3d1c7564d321f70744f66a2bd818ad97c59d00ea;hp=1ca5788812c383d07fc2c5358d47ecd253def330;hpb=b235d62915dba943446744b725971bd2c47bc347;p=squirrelmail.git diff --git a/src/move_messages.php b/src/move_messages.php index 1ca57888..c234a5db 100644 --- a/src/move_messages.php +++ b/src/move_messages.php @@ -1,93 +1,152 @@ -\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]) { - if ($firstLoop != true) - $selectedMessages .= "&"; - else - $firstLoop = false; +