adding the odd but reported Twitter avatar .jpeg file extension

This commit is contained in:
Mikael Nordfeldth 2012-05-24 23:09:56 +02:00
parent b2a91944bb
commit bd8178592c
1 changed files with 1 additions and 0 deletions

View File

@ -398,6 +398,7 @@ class TwitterImport
$mediatype = null;
switch (strtolower($ext)) {
case 'jpeg':
case 'jpg':
$mediatype = 'image/jpg';
break;