WebUI: Mail not displayed due to PHP error when using wildcards in search terms
Issue #595
resolved
- Search for something like
subject: *foo*
- Select a mail from the results pane
- The mail is not displayed due to PHP errors which adds the highlighting CSS:
PHP Warning: preg_replace(): Compilation failed: nothing to repeat at offset 0 in ..../htdocs/model/search/message.php on line 516
PHP Warning: preg_replace(): Compilation failed: nothing to repeat at offset 0 in ..../htdocs/model/search/message.php on line 493
Works fine when searching for subject: foo
Comments (3)
-
repo owner -
reporter Yes, that solves the problem
-
repo owner - changed status to resolved
- Log in to comment
A few lines above (~499) you can see the following:
Try to fix it like