Преглед изворни кода

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);