Aleksander Machniak
2014-04-30 8b5d16d30a48ea5b4afda7019dd09dbcd303194f
Support 'error' and 'body_file' return attribs in 'message_before_send' hook (#1489595)

Conflicts:

CHANGELOG
2 files modified
9 ■■■■ changed files
CHANGELOG 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube.php 7 ●●●●● patch | view | raw | blame | history
CHANGELOG
@@ -1,8 +1,8 @@
CHANGELOG Roundcube Webmail
===========================
- Support 'error' and 'body_file' return attribs in 'message_before_send' hook (#1489595)
- Fix missing email address when importing contacts from outlook csv (#1489830)
- Apply user-specific replacements to group's base_dn property (#1489779)
- Fix bug where "With attachment" option in search filter wasn't selected after return from mail view (#1489774)
- Fix "washing" of unicoded style attributes (#1489777)
- Fix unintentional redirect from compose page in Webkit browsers (#1489789)
program/lib/Roundcube/rcube.php
@@ -1438,6 +1438,13 @@
        ));
        if ($plugin['abort']) {
            if (!empty($plugin['error'])) {
                $error = $plugin['error'];
            }
            if (!empty($plugin['body_file'])) {
                $body_file = $plugin['body_file'];
            }
            return isset($plugin['result']) ? $plugin['result'] : false;
        }