aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/entities.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index aca26ddd5..74f3cdfc1 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -1972,7 +1972,8 @@
if(!@getimagesize($CONFIG->path . $url))
$url = "views/$viewtype/graphics/icons/default/$size.png";
- return $CONFIG->url . $url;
+ if (@getimagesize($CONFIG->path . $url))
+ return $CONFIG->url . $url;
}
}