diff options
-rw-r--r-- | engine/lib/entities.php | 3 |
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; } } |