summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-04-23 00:38:25 +1000
committerSavetheinternet <savetheinternet@n0v4.com>2011-04-23 00:38:25 +1000
commit2ac8dc2c0fff26265ab911440b66e4a51923c173 (patch)
tree2bccdd043c264be9b0ec25945c7c4ae6ef81a03f /inc
parente7a0eb14f4171943d4ab034d751bd74cfb5dd788 (diff)
cleanup
Diffstat (limited to 'inc')
-rw-r--r--inc/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php
index 6ecb34ce..e3785298 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -1418,7 +1418,7 @@
switch($type) {
case 'jpg':
case 'jpeg':
- if(!$image = imagecreatefromjpeg($source_pic)) {
+ if(!$image = @imagecreatefromjpeg($source_pic)) {
unlink($source_pic);
error($config['error']['invalidimg']);
}