commit | 9cc707b8a5c726b7f2aa21b026dbf491a75e06c4 | [log] [tgz] |
---|---|---|
author | Ted Wood <ted@thedigitalorchard.ca> | Tue Jan 08 19:41:45 2013 -0800 |
committer | Ted Wood <ted@thedigitalorchard.ca> | Tue Jan 08 19:41:45 2013 -0800 |
tree | dffbe5654d767a3ff325cc1924d7c091d02f6939 | |
parent | 85adeed0ab67bcde7b5c57ddb44022c75e82078a [diff] [blame] |
fix imagejpeg() parameter, should be NULL instead of empty string
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php index 54a134f..6d54936 100644 --- a/system/libraries/Image_lib.php +++ b/system/libraries/Image_lib.php
@@ -1491,7 +1491,7 @@ { case 1 : imagegif($resource); break; - case 2 : imagejpeg($resource, '', $this->quality); + case 2 : imagejpeg($resource, NULL, $this->quality); break; case 3 : imagepng($resource); break;