From f6e463cbeaed04ef7f616d038871e58cff88f0c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Carlos=20Ra=C3=B1a?= Date: Fri, 20 Jan 2012 18:45:37 +0100 Subject: [PATCH] my mistake review last commit fix show jpeg not save jpeg --- .../editor/plugins/ajaxfilemanager/inc/class.image.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/inc/class.image.php b/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/inc/class.image.php index 2162389fef..db18433227 100644 --- a/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/inc/class.image.php +++ b/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/inc/class.image.php @@ -220,9 +220,6 @@ class ImageAjaxFileManager case 'jpg': $saved = $func($this->_imgFinal, $filename, $quality); break; - case 'jpeg': - $saved = $func($this->_imgFinal, $filename, $quality);//hack for Chamilo fix thumbnail of jpeg files - break; } if ($saved === false) @@ -276,6 +273,9 @@ class ImageAjaxFileManager break; case 'jpg': $func($this->_imgFinal, '', $quality); + break; + case 'jpeg': + $func($this->_imgFinal, '', $quality); break; } return true;