Fix logic
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 1 Feb 2010 17:10:38 +0000 (10:10 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 1 Feb 2010 17:10:42 +0000 (10:10 -0700)
framework/Imap_Client/lib/Horde/Imap/Client/Utils.php

index 59ee908..83907bf 100644 (file)
@@ -78,6 +78,9 @@ class Horde_Imap_Client_Utils
                     }
                 } else {
                     $out[] = $first . ':' . $last;
+                    if ($last != $val) {
+                        $out[] = $val;
+                    }
                 }
                 $first = $last = $val;
             }