fix for bug #578156
This commit is contained in:
parent
a07a3e2ba6
commit
106fbdca43
1 changed files with 1 additions and 2 deletions
|
@ -581,8 +581,7 @@ function sqimap_mailbox_list($imap_stream) {
|
||||||
$used[$k] = true;
|
$used[$k] = true;
|
||||||
}
|
}
|
||||||
$spec_sub = str_replace(' ', '', $box['formatted']);
|
$spec_sub = str_replace(' ', '', $box['formatted']);
|
||||||
$spec_sub = str_replace('*', '', $spec_sub);
|
$spec_sub = preg_replace("/(\*|\[|\]|\(|\)|\?|\+|\{|\}|\^|\\$)/", '\\\\'.'\\1', $spec_sub);
|
||||||
$spec_sub = str_replace('?', '\?', $spec_sub);
|
|
||||||
|
|
||||||
/* In case of problems with preg
|
/* In case of problems with preg
|
||||||
here is a ereg version
|
here is a ereg version
|
||||||
|
|
Loading…
Add table
Reference in a new issue