Sfoglia il codice sorgente

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 anni fa
parent
commit
9cdbec2731
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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;