bug in imp/compose.php

Steeman Philip philip.steeman@kh.khbo.be
Sun, 25 Nov 2001 23:05:57 +0100 (CET)


Hello,
there is a problem with the sentmail folder selection box in compose.
(it is always the alphabetic first one which is displayed)

The problem (I looked in the source)

around line 973, there is a check between 
$folder['val'] and $identity->getValue[sent_mail_folder ...

BUT:
when you have e.g. 'mail/' as your mailpath

$folders['val'] == 'mail/sent-mail'
  and
$identity->getValue[sent_mail_folder...] == 'sent-mail'

So, THEY NEVER MATCH.

I'm not confident enough to make the patch myself, but I try to understand
the code.

Philip


-----------------------------------------------------------------------------
Philip Steeman                    tel: (+32)59 56 90 16
Zeedijk 101                       fax: (+32)59 56 90 01
8400 Oostende                     E-mail: philip.steeman@kh.khbo.be
Belgium