#652 Leading asterisk (*) in folder name err.

Produces PHP errors
closed
Jason Munro
Folders (317)
5
2002-05-28
2002-05-04
Pete Ness
No

If a folder name has a leading asterisk, and you're
set up to show special folders first, then the
following error message occurs for each folder with a
* in it:

Warning: Compilation failed: nothing to repeat at
offset 24 in ...../functions/imap_mailbox.php on line
513

Adding the following line fixes the problem:

$spec_sub = str_replace('*', '', $box['formatted']);

In mine, I added this line immediately after the line
that looks just like this that does it for nbsp at
507.

I'll report back if I see any side affects.

Discussion

  • Logged In: YES
    user_id=147248

    Jason, can you take a look at this? If you don't hate me for
    giving you all this work yet. :)

     
    • assigned_to: nobody --> jmunro
     
  • Jason Munro
    Jason Munro
    2002-05-28

    Logged In: YES
    user_id=442854

    Looks like a good fix. line #'s have changed but it was easy
    to track down.
    Applied to dev and stable. (boy it feels good to say that :)

    jason

     
  • Jason Munro
    Jason Munro
    2002-05-28

    • status: open --> closed