diff options
Diffstat (limited to 'include/photo/photo_driver.php')
-rw-r--r-- | include/photo/photo_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/photo/photo_driver.php b/include/photo/photo_driver.php index 84943bc27..5c8ed9bdc 100644 --- a/include/photo/photo_driver.php +++ b/include/photo/photo_driver.php @@ -493,7 +493,7 @@ function guess_image_type($filename, $headers = '') { $ph = photo_factory(''); $types = $ph->supportedTypes(); - if(array_key_exists($hdrs['content-type'], $types) + if(array_key_exists($hdrs['content-type'], $types)) $type = $hdrs['content-type']; } } |