Roundcube Community Forum

Recycle Bin => Recycle Bin => Topic started by: cgm225 on May 05, 2007, 09:27:30 AM

Title: How do I actually install patch after I download it?
Post by: cgm225 on May 05, 2007, 09:27:30 AM
I am having the problem that mail forwarded from my groupwise account at school has a blank body (though when click "show source" the body of the message does appear in there). Therefore, I was going to install the "Patch for incorrect HTML message display" to see if that helped, but when I downloaded the patch file from sourceforge it had no extension or instructions on how to install.

My questions: (1) How do I install the "Patch for incorrect HTML message display?" (2) Why do some e-mails forwarded to me have a blank body even though the body is present in the source?

 
Title: Re: How do I actually install patch after I download it?
Post by: bpat1434 on May 05, 2007, 05:10:10 PM
If you open the patch file, it should show something like the following:

--- some/path/to/some/file.ext
+++ some/path/to/some/file.ext

- if($var)
- {
-  echo $val;
- }
+ if($var && ($var & $var2))
+ {
+  if($val != '')
+   echo $val;
+
+  echo $var2
+ }

Essentially, it tells you that you need to (-) remove or (+) add lines to the specified file.

Hope that helps. If that's not it, try opening the file in a text editor, and viewing its contents. If you don't understand it, paste the code here.