summaryrefslogtreecommitdiff
path: root/includes/image.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/image.inc')
-rw-r--r--includes/image.inc2
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;
}