From 4fde42f72e4cfbb9df9d3326db8277036a9faaa7 Mon Sep 17 00:00:00 2001 From: unclecheese Date: Fri, 17 Aug 2012 13:17:26 -0300 Subject: [PATCH] ENHANCEMENT: Add "jpeg" to list of allowed extensions .jpeg is the correct extension for these files, and they were being filtered out of the list. --- forms/HtmlEditorField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/HtmlEditorField.php b/forms/HtmlEditorField.php index 7cf12dab2..61fd065a1 100644 --- a/forms/HtmlEditorField.php +++ b/forms/HtmlEditorField.php @@ -761,7 +761,7 @@ class HtmlEditorField_Toolbar extends RequestHandler { * @return Array All extensions which can be handled by the different views. */ protected function getAllowedExtensions() { - $exts = array('jpg', 'gif', 'png', 'swf'); + $exts = array('jpg', 'gif', 'png', 'swf','jpeg'); $this->extend('updateAllowedExtensions', $exts); return $exts; }