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

View File

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