Skip to content

Commit

Permalink
Fix overagressive changing of variables
Browse files Browse the repository at this point in the history
Partial revert of 6644ca3
  • Loading branch information
slusarz committed Mar 26, 2014
1 parent de27efb commit dc8b08b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imp/lib/Compose/View.php
Expand Up @@ -40,9 +40,9 @@ public function composeAttachPreview($id, $autodetect = false,
$e->logged = true;
throw $e;
}
$atc->setMimeId($id);
$mime->setMimeId($id);

$contents = new IMP_Contents($atc);
$contents = new IMP_Contents($mime);
$render = $contents->renderMIMEPart($id, $contents::RENDER_RAW_FALLBACK, array(
'autodetect' => $autodetect,
'type' => $ctype
Expand Down

0 comments on commit dc8b08b

Please sign in to comment.