#115 Cannot remove folder in 'Sent' Folder

closed-fixed
nobody
None
5
2006-08-04
2006-03-28
Santyaga_ru_RU
No

I can create subfolder in 'Sent' folder, but cannot
remove it with Folder page. It is not display in select
list.
Another one, deleted folder placed in Trash, but "empty
trash" link not displayed. If in Trash appears
messages, folder correctly removed with them.
SM Version 1.5.1
IMAP server Cyrus, folder delimeter is '.'

WBR.

Discussion

  • Santyaga_ru_RU
    Santyaga_ru_RU
    2006-03-28

    Logged In: YES
    user_id=1456625

    I offer patch:

    --- folders.php.old
    +++ folders.php.new
    @@ -191,7 +191,10 @@
    foreach ($boxes as $index => $aBoxData) {
    if (isSpecialMailbox($aBoxData['unformatted']) &&
    ! in_array($aBoxData['unformatted'],$skip_folders)) {
    + if (substr_count($aBoxData['unformatted'],
    $delimiter) < 2)
    + {
    $skip_folders[] = $aBoxData['unformatted'];
    + }//if
    }
    }

    so if there are exists subfolders in special folders then
    show them...

     
  • Tomas Kuliavas
    Tomas Kuliavas
    2006-03-28

    • labels: 102902 -->
     
  • Tomas Kuliavas
    Tomas Kuliavas
    2006-08-04

    • status: open --> closed-fixed
     
  • Tomas Kuliavas
    Tomas Kuliavas
    2006-08-04

    Logged In: YES
    user_id=225877

    Fixed in 1.5.2cvs.