Skip to content
Browse files

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.
  • Loading branch information...
1 parent 31d6070 commit 4fde42f72e4cfbb9df9d3326db8277036a9faaa7 @unclecheese unclecheese committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 forms/HtmlEditorField.php
2 forms/HtmlEditorField.php
@@ -761,7 +761,7 @@ protected function getFiles($parentID = null) {
* @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;

0 comments on commit 4fde42f

Please sign in to comment.
Something went wrong with that request. Please try again.