summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/config/autoload.php2
-rw-r--r--system/libraries/Image_lib.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/application/config/autoload.php b/application/config/autoload.php
index 4a9d221bc..40f0a6520 100644
--- a/application/config/autoload.php
+++ b/application/config/autoload.php
@@ -56,7 +56,7 @@
/*
| -------------------------------------------------------------------
-| Auto-load Packges
+| Auto-load Packages
| -------------------------------------------------------------------
| Prototype:
|
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php
index 54a134f50..6d5493696 100644
--- a/system/libraries/Image_lib.php
+++ b/system/libraries/Image_lib.php
@@ -1491,7 +1491,7 @@ class CI_Image_lib {
{
case 1 : imagegif($resource);
break;
- case 2 : imagejpeg($resource, '', $this->quality);
+ case 2 : imagejpeg($resource, NULL, $this->quality);
break;
case 3 : imagepng($resource);
break;