[horde] Status of Install.. The saga continues
    Eric Rostetter 
    eric.rostetter at physics.utexas.edu
       
    Wed Jan  8 22:10:31 PST 2003
    
    
  
Quoting "Michael J. Pawlowsky" <mikejp at videotron.ca>:
> Troll:
> I still get the can't display message.
This isn't an official patch/answer, and it probably isn't the proper patch,
but you might want to use it if you want to see plain/text messages asap,
until the real patches are made.
Index: plain.php
===================================================================
RCS file: /usr/repository/troll/lib/MIME/Viewer/plain.php,v
retrieving revision 1.8
diff -u -r1.8 plain.php
--- plain.php   8 Jan 2003 19:02:29 -0000       1.8
+++ plain.php   9 Jan 2003 06:05:43 -0000
@@ -31,10 +31,10 @@
     function render($params)
     {
         $contents =& $params[0];
-
         global $prefs;
-        $text = $this->mime_part->getContents();
+//        $text = $this->mime_part->getContents();
+       $text = $contents->getBody();  // wrong, but at least prints something
         /* If calling as an attachment from view.php, we do not want to alter
            the text in any way. */
-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin
Why get even? Get odd!
    
    
More information about the horde
mailing list