From c779feac53bdde2d8d23bbbe305d3c82754e3774 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 24 Nov 2008 23:22:52 -0700 Subject: [PATCH] Use newer MIME functions. --- imp/saveimage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imp/saveimage.php b/imp/saveimage.php index 6f83bad59..b394c7179 100644 --- a/imp/saveimage.php +++ b/imp/saveimage.php @@ -19,9 +19,9 @@ $actionID = Util::getFormData('actionID'); switch ($actionID) { case 'save_image': $contents = &IMP_Contents::singleton($index); - $mime_part = $contents->getDecodedMIMEPart($id); + $mime_part = $contents->getMIMEPart($id); $image_data = array( - 'filename' => $mime_part->getName(true, true), + 'filename' => $mime_part->getName(true), 'description' => $mime_part->getDescription(true), 'data' => $mime_part->getContents(), 'type' => $mime_part->getType() -- 2.11.0