Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 4fde42f72e4cfbb9df9d3326db8277036a9faaa7 1 parent 31d6070
@unclecheese unclecheese authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  forms/HtmlEditorField.php
View
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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.