From 2f23e392ee67b342d501a1fed6619f87778439ae Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 22 Sep 2009 11:00:49 -0600 Subject: [PATCH] Bug #8596: Fix constant name --- imp/lib/Mime/Viewer/Zip.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imp/lib/Mime/Viewer/Zip.php b/imp/lib/Mime/Viewer/Zip.php index 281548f57..ff2b9b466 100644 --- a/imp/lib/Mime/Viewer/Zip.php +++ b/imp/lib/Mime/Viewer/Zip.php @@ -37,11 +37,11 @@ class IMP_Horde_Mime_Viewer_Zip extends Horde_Mime_Viewer_Zip $data = $this->_mimepart->getContents(); $zip = Horde_Compress::factory('zip'); $fileKey = Horde_Util::getFormData('zip_attachment') - 1; - $zipInfo = $zip->decompress($data, array('action' => Horde_Compress::ZIP_LIST)); + $zipInfo = $zip->decompress($data, array('action' => Horde_Compress_Zip::ZIP_LIST)); /* Verify that the requested file exists. */ if (isset($zipInfo[$fileKey])) { - $text = $zip->decompress($data, array('action' => Horde_Compress::ZIP_DATA, 'info' => $zipInfo, 'key' => $fileKey)); + $text = $zip->decompress($data, array('action' => Horde_Compress_Zip::ZIP_DATA, 'info' => $zipInfo, 'key' => $fileKey)); if (!empty($text)) { return array( $this->_mimepart->getMimeId() => array( -- 2.11.0