summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/image.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/image.inc b/includes/image.inc
index 63eb88b5c..9eb813dc1 100644
--- a/includes/image.inc
+++ b/includes/image.inc
@@ -122,7 +122,7 @@ function image_toolkit_invoke($method, stdClass $image, array $params = array())
*/
function image_get_info($filepath, $toolkit = FALSE) {
$details = FALSE;
- if (!is_file($filepath)) {
+ if (!is_file($filepath) && !is_uploaded_file($filepath)) {
return $details;
}