diff options
-rw-r--r-- | system/libraries/Image_lib.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php index fc78f6b04..21e0a709b 100644 --- a/system/libraries/Image_lib.php +++ b/system/libraries/Image_lib.php @@ -349,7 +349,7 @@ class CI_Image_lib { function resize() { $protocol = 'image_process_'.$this->image_library; - + if (preg_match('/gd2$/i', $protocol)) { $protocol = 'image_process_gd'; |