Wrap the msg id in an array here.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 5 Jun 2009 19:34:13 +0000 (15:34 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 5 Jun 2009 19:35:41 +0000 (15:35 -0400)
This is an educated guess as to what was intented here based on
what the FW_3 ingo was doing here.

ingo/lib/Script/imap.php

index fc03288..a4f52dc 100644 (file)
@@ -182,7 +182,7 @@ class Ingo_Script_imap extends Ingo_Script
                         }
                     }
                     if (!$found) {
-                        $indices = array_diff($indices, $k);
+                        $indices = array_diff($indices, array($k));
                     }
                 }