diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-10-08 14:45:46 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-10-08 14:45:46 +0000 |
commit | fedfac5799b93b0609f4a9fab4623f95b3c906ae (patch) | |
tree | 200133a17cee2c95bc8f09f6a5dc81996504e6b4 /engine | |
parent | b6ccae4fcde10809993a08dfe1af96738b3b2aea (diff) | |
download | elgg-fedfac5799b93b0609f4a9fab4623f95b3c906ae.tar.gz elgg-fedfac5799b93b0609f4a9fab4623f95b3c906ae.tar.bz2 |
git-svn-id: https://code.elgg.org/elgg/trunk@2224 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-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; } } |