summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-01-29 19:59:12 +0100
committerDerek Jones <derek.jones@ellislab.com>2008-01-29 19:59:12 +0100
commit26fba4676ffee5c03d9c7b99d31c9f230cc5c242 (patch)
treec18246848430bcb84d9620adfc4c57f77ac4084e /system
parentc9c6faa5e07ad9dd33da9fb18cc4d146c95fcc49 (diff)
fixed bug (#3331) with image destination path in image_process_ntpbm()
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Image_lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php
index d9ed761c5..260075ecd 100644
--- a/system/libraries/Image_lib.php
+++ b/system/libraries/Image_lib.php
@@ -692,7 +692,7 @@ class CI_Image_lib {
// we have to rename the temp file.
copy ($this->dest_folder.'netpbm.tmp', $this->full_dst_path);
unlink ($this->dest_folder.'netpbm.tmp');
- @chmod($dst_image, 0777);
+ @chmod($this->full_dst_path, 0777);
return TRUE;
}