typo in Message.php

Remi Cohen-Scali Remi.Cohen-Scali@france.sun.com
Tue, 18 Dec 2001 16:11:07 +0100


Here is a correction for a typo in imp/lib/Message.php...

diff -u Message.php~ Message.php
--- Message.php~    Tue Dec 18 15:20:28 2001
+++ Message.php    Tue Dec 18 15:26:18 2001
@@ -118,7 +118,7 @@
              }
          }
          else {
-            $msg_list = implode($msgs, ',');
+            $msg_list = implode(',', $msgs);
              if (!imap_mail_copy($imp['stream'], $msg_list, $targetMbox,
$imap_flags)) {
                  Horde::raiseMessage(sprintf($message,
IMP::displayFolder($targetFolder)) .
                                      ': <i>' . imap_last_error() .
'</i>', HORDE_ERROR);
@@ -332,7 +332,7 @@
                  }
              }
          } else {
-            $msg_list = implode($indices, ',');
+            $msg_list = implode(',', $indices);
              if (!$function($imp['stream'], $msg_list, $flag, ST_UID)) {
                  Horde::raiseMessage(sprintf(_("There was an error
flagging messages. This is what the server said")) .
                                      ': <i>' . imap_last_error() .
'</i>', HORDE_ERROR);

-- 
    _/_/_/   _/    _/  _/      /      Remi Cohen-Scali
    _/      _/    _/  _/_/   _/       Development engineer
   _/_/_/  _/    _/  _/  _/ _/        Network Service Provider Division
      _/  _/    _/  _/   _/_/         Phone:     +33-139-447-509  x44509
_/_/_/   _/_/_/   _/     _/          E-mails: Remi.Cohen-Scali@Sun.COM
M  I  C  R  O  S  Y  S  T  E  M  S            Remi@Cohen-Scali.COM
                                      WAPmail: Remi.CohenScali@Itineris.Net