* Removed the unnecessary function replace_escaped_spaces (never used)
[squirrelmail.git] / src / search.php
index 0aad14b77db5606fa62e63f8bad077262d93f705..da18910d28bc37c3e9a76d025e13b12c75c418af 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]['unformatted-disp']);
+        $box2 = str_replace(' ', '&nbsp;', $boxes[$i]['unformatted-disp']);
          if ($mailbox == $box)
             echo "         <OPTION VALUE=\"$box\" SELECTED>$box2\n";
          else