Fixed the unable to subscribe folder bug, caused by draft. The problem
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 5 Nov 2001 10:36:02 +0000 (10:36 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 5 Nov 2001 10:36:02 +0000 (10:36 +0000)
was that it was storing "none selected" instead of "none". Selected
is an html option for that tag.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1692 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/options_folder.php

index d630f8aabe2f9b00f8a9199142897c5dcb58276c..1562fbddd943de538379f7dc644842a6b8e4e52a 100644 (file)
@@ -86,7 +86,7 @@
       if ($move_to_sent == true)
          echo '<option value="none">' . _("Do not use Sent");
       else
-         echo "<option value=none selected>" . _("Do not use Sent");
+         echo "<option value=\"none\" selected>" . _("Do not use Sent");
  
       for ($i = 0; $i < count($boxes); $i++) {
          $use_folder = true;
    if ($save_as_draft == true)
       echo '<option value="none">' . _("Do not use Drafts");
    else
-      echo '<option value="none selected">' . _("Do not use Drafts");
+      echo '<option value="none" selected>' . _("Do not use Drafts");
 
    for ($i = 0; $i < count($boxes); $i++) {
       $use_folder = true;