diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-12-08 07:11:39 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-12-08 07:11:39 +0000 |
commit | ce56b704b2a2d50f63180a4c1e5573bbac581c2a (patch) | |
tree | 6d41d575675a22c0e8815c0375278f28f404fc4f | |
parent | 6d13ffa4869fc6a07f5d874a6c3a640349bfd719 (diff) | |
download | brdo-ce56b704b2a2d50f63180a4c1e5573bbac581c2a.tar.gz brdo-ce56b704b2a2d50f63180a4c1e5573bbac581c2a.tar.bz2 |
#307636 by zbricoleur: Fixed image_get_info() fails on IIS on new uploads
-rw-r--r-- | includes/image.inc | 2 |
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; } |