소스 검색

Made change to line 193 to make the subscribe option show up for a user that doesn't have subfolders other than the "special folder."
Change < to <=

cosworth 25 년 전
부모
커밋
496a88cee2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/folders.php

+ 1 - 1
src/folders.php

@@ -190,7 +190,7 @@
    /** SUBSCRIBE TO FOLDERS **/
 
    echo "<TR><TD BGCOLOR=\"$color[4]\" ALIGN=CENTER>";
-   if ($count_special_folders < count($boxes)) {
+   if ($count_special_folders <= count($boxes)) {
       $imap_stream = sqimap_login ($username, $key, $imapServerAddress, $imapPort, 1);
       $boxes = sqimap_mailbox_list_all ($imap_stream);