summaryrefslogtreecommitdiff
path: root/htdocs/src
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs/src')
-rw-r--r--htdocs/src/Post.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/htdocs/src/Post.inc.php b/htdocs/src/Post.inc.php
index 2eef773..888a5fa 100644
--- a/htdocs/src/Post.inc.php
+++ b/htdocs/src/Post.inc.php
@@ -290,7 +290,7 @@ class Post {
}
switch ($info[2]) {
- case IMAGETYPE_JPG:
+ case IMAGETYPE_JPEG:
$image = imagecreatefromjpeg($file);
break;