Przeglądaj źródła

Fixed the unable to subscribe folder bug, caused by draft. The problem
was that it was storing "none selected" instead of "none". Selected
is an html option for that tag.

philippe_mingo 24 lat temu
rodzic
commit
9cdbec2731
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/options_folder.php

+ 2 - 2
src/options_folder.php

@@ -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;
@@ -113,7 +113,7 @@
    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;