aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/entities.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 05974ec09..31316383a 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -2115,13 +2115,13 @@
$url = "views/$viewtype/graphics/icons/$type/$subtype/$size.png";
- if (!@getimagesize($CONFIG->path . $url))
+ if (!@file_exists($CONFIG->path . $url))
$url = "views/$viewtype/graphics/icons/$type/default/$size.png";
- if(!@getimagesize($CONFIG->path . $url))
+ if(!@file_exists($CONFIG->path . $url))
$url = "views/$viewtype/graphics/icons/default/$size.png";
- if (@getimagesize($CONFIG->path . $url))
+ if (@file_exists($CONFIG->path . $url))
return $CONFIG->url . $url;
}
}