Aleksander Machniak
2015-03-08 26c993010375904b9f9a00f1e811319b5144675a
get_part_content() -> get_part_body()
1 files modified
2 ■■■ changed files
program/steps/mail/get.inc 2 ●●● patch | view | raw | blame | history
program/steps/mail/get.inc
@@ -85,7 +85,7 @@
        // render thumbnail image if not done yet
        if (!is_file($cache_file)) {
            if ($fp = fopen(($orig_name = $cache_basename . '.orig.' . $ext), 'w')) {
                $MESSAGE->get_part_content($part->mime_id, $fp);
                $MESSAGE->get_part_body($part->mime_id, false, 0, $fp);
                fclose($fp);
                $image = new rcube_image($orig_name);