Explorar o código

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 %!s(int64=24) %!d(string=hai) anos
pai
achega
9cdbec2731
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;