Fix bug where "With attachment" option in search filter wasn't selected after return from mail view (#1489774)

Conflicts:

	CHANGELOG
pull/181/head
Aleksander Machniak 10 years ago
parent 7883ecb8ec
commit ceff79b14a

@ -1,6 +1,8 @@
CHANGELOG Roundcube Webmail
===========================
- Fix bug where "With attachment" option in search filter wasn't selected after return from mail view (#1489774)
RELEASE 1.0.0
-------------
- Fix style of disabled protocol handler link on IE (#1489569)

@ -1984,7 +1984,7 @@ function rcmail_search_filter($attrib)
$ctypes = array('application/', 'multipart/m', 'multipart/signed', 'multipart/report');
// Build search string of "with attachment" filter
$attachment = str_repeat(' OR', count($ctypes)-1);
$attachment = trim(str_repeat(' OR', count($ctypes)-1));
foreach ($ctypes as $type) {
$attachment .= ' HEADER Content-Type ' . rcube_imap_generic::escape($type);
}

Loading…
Cancel
Save