From fedfac5799b93b0609f4a9fab4623f95b3c906ae Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 8 Oct 2008 14:45:46 +0000 Subject: git-svn-id: https://code.elgg.org/elgg/trunk@2224 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engine/lib') 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; } } -- cgit v1.2.3