aboutsummaryrefslogtreecommitdiffstats
path: root/admin/images/monthly_stats.img.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/images/monthly_stats.img.php')
-rw-r--r--admin/images/monthly_stats.img.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/images/monthly_stats.img.php b/admin/images/monthly_stats.img.php
index 3a3c0e143..5ad3b0f55 100644
--- a/admin/images/monthly_stats.img.php
+++ b/admin/images/monthly_stats.img.php
@@ -116,7 +116,7 @@ if ($outputFormat == "png")
header("Content-type: image/png");
ImagePNG($image);
}
-else if ($outputFormat == "jpg")
+else if (in_array($outputFormat, array("jpg", "jpeg")))
{
header("Content-type: image/jpeg");
Imagejpeg($image);