[Svn] r3407 - trunk/roundcubemail/program/steps/mail

trac at roundcube.net trac at roundcube.net
Wed Mar 24 09:18:12 CET 2010


Author: alec
Date: 2010-03-24 03:18:12 -0500 (Wed, 24 Mar 2010)
New Revision: 3407

Modified:
   trunk/roundcubemail/program/steps/mail/copy.inc
Log:
- removed unnecessary counting


Modified: trunk/roundcubemail/program/steps/mail/copy.inc
===================================================================
--- trunk/roundcubemail/program/steps/mail/copy.inc	2010-03-23 14:55:34 UTC (rev 3406)
+++ trunk/roundcubemail/program/steps/mail/copy.inc	2010-03-24 08:18:12 UTC (rev 3407)
@@ -29,7 +29,7 @@
 
 // move messages
 if (!empty($_POST['_uid']) && !empty($_POST['_target_mbox'])) {
-    $count = sizeof(explode(',', ($uids = get_input_value('_uid', RCUBE_INPUT_POST))));
+    $uids = get_input_value('_uid', RCUBE_INPUT_POST);
     $target = get_input_value('_target_mbox', RCUBE_INPUT_POST);
     $mbox = get_input_value('_mbox', RCUBE_INPUT_POST);
 
@@ -37,8 +37,8 @@
   
     if (!$copied) {
         // send error message
-	if ($_POST['_from'] != 'show')
-          $OUTPUT->command('list_mailbox');
+	    if ($_POST['_from'] != 'show')
+            $OUTPUT->command('list_mailbox');
         $OUTPUT->show_message('errorcopying', 'error');
         $OUTPUT->send();
         exit;


Property changes on: trunk/roundcubemail/program/steps/mail/copy.inc
___________________________________________________________________
Added: svn:keywords
   + Author Id

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list