Fixed bug #4562.  A path was not defined for NetPBM
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php
index 8a68667..d7404af 100644
--- a/system/libraries/Image_lib.php
+++ b/system/libraries/Image_lib.php
@@ -688,7 +688,7 @@
 		// 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, DIR_WRITE_MODE);

+		@chmod($this->full_dst_path, DIR_WRITE_MODE);

 		

 		return TRUE;

 	}