Mixed up two lines :-P

This commit is contained in:
Thomas Tanghus 2012-01-01 23:34:26 +01:00
parent 51dfb0a3e0
commit db6738478b

View file

@ -111,10 +111,10 @@ class OC_Image {
imagegif(self::$resource);
break;
case IMAGETYPE_JPEG:
imagepng(self::$resource);
imagejpeg(self::$resource);
break;
case IMAGETYPE_PNG:
imagejpeg(self::$resource);
imagepng(self::$resource);
break;
case IMAGETYPE_XBM:
imagexbm(self::$resource);