fixed search folder list display
[squirrelmail.git] / src / search.php
index 7eb98a183faa78e51be51356758c4bff51f4fb4d..e7e9f8d2e3d550f967ba549d1a79cc211c285574 100644 (file)
@@ -59,7 +59,7 @@
    for ($i = 0; $i < count($boxes); $i++) {
          if (!in_array("noselect", $boxes[$i]["flags"])) {
          $box = $boxes[$i]["unformatted"];
-         $box2 = replace_spaces($boxes[$i]["formatted"]);
+         $box2 = replace_spaces($boxes[$i]["unformatted-disp"]);
          if ($mailbox == $box)
             echo "         <OPTION VALUE=\"$box\" SELECTED>$box2\n";
          else