alecpl
2011-09-17 30f50556c130e272d9eb6ddcd11ea70a18a4e711
program/include/rcube_imap.php
@@ -2386,7 +2386,7 @@
            return true;
        }
        // Remove NULL characters (#1486189)
        // Remove NULL characters (#1486189)
        $body = str_replace("\x00", '', $body);
        // convert charset (if text or message part)
@@ -3500,7 +3500,8 @@
        }
        if (!empty($options['rights'])) {
            $options['norename'] = !in_array('x', $options['rights']);
            $options['norename'] = !in_array('x', $options['rights']) && !in_array('d', $options['rights']);
            if (!$options['noselect']) {
                $options['noselect'] = !in_array('r', $options['rights']);
            }