whitespace

This commit is contained in:
zotlabs 2017-06-05 15:57:43 -07:00 committed by Mario Vavti
parent cdfd42053d
commit f5b593ff42

View File

@ -489,7 +489,9 @@ function guess_image_type($filename, $headers = '') {
$ph = photo_factory(''); $ph = photo_factory('');
$types = $ph->supportedTypes(); $types = $ph->supportedTypes();
foreach($types as $m => $e) { foreach($types as $m => $e) {
if ($ext==$e) $type = $m; if($ext === $e) {
$type = $m;
}
} }
} }