Module: appdb Branch: master Commit: f69dfc770c66885f95ae8c6e7b7de30ccdc18638 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=f69dfc770c66885f95ae8c6e7...
Author: Jeremy Newman jnewman@codeweavers.com Date: Tue Mar 22 13:43:09 2016 -0500
imagejpeg second param should be null to output directly
---
include/image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/image.php b/include/image.php index 16e45dc..6f22aad 100644 --- a/include/image.php +++ b/include/image.php @@ -360,7 +360,7 @@ class Image { case 2: if($bHeader) header('Content-type: image/jpeg'); - imagejpeg($this->oImage,'',$iQuality); + imagejpeg($this->oImage,null,$iQuality); $this->set_debuglog("Outputed file as jpeg to browser"); break;