Aleksander Machniak
2015-08-30 c4daf3f14fa34bb78fe86410bfd79bd8951d7a71
program/include/rcmail.php
@@ -2305,7 +2305,7 @@
     *
     * @return string Plain text
     */
    public function html2text($html, $options)
    public function html2text($html, $options = array())
    {
        $default_options = array(
            'links'   => true,
@@ -2314,7 +2314,7 @@
            'charset' => RCUBE_CHARSET,
        );
        $options = array_merge($default_options, $options);
        $options = array_merge($default_options, (array) $options);
        // Plugins may want to modify HTML in another/additional way
        $options = $this->plugins->exec_hook('html2text', $options);