diff options
Diffstat (limited to 'includes/image.inc')
-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 18450ce98..171dc75e4 100644 --- a/includes/image.inc +++ b/includes/image.inc @@ -80,7 +80,7 @@ function image_toolkit_invoke($method, $params = array()) { * 'mime_type': image's MIME type ('image/jpeg', 'image/gif', etc.) */ function image_get_info($file) { - if (!file_exists($file)) { + if (!is_file($file)) { return false; } |