alecpl
2010-05-18 0e7b66357de62abad98dbd8b1c06ac5de3d4575c
program/steps/mail/func.inc
@@ -285,6 +285,8 @@
    if ($header->depth)
      $a_msg_flags['depth'] = $header->depth;
    else if ($header->has_children)
      $roots[] = $header->uid;
    if ($header->parent_uid)
      $a_msg_flags['parent_uid'] = $header->parent_uid;
    if ($header->has_children)
@@ -311,6 +313,10 @@
      $a_msg_flags,
      $insert_top);
    }
    if ($IMAP->threading && $a_headers) {
      $OUTPUT->command('init_threads', (array) $roots);
    }
}