[dev] Re: [cvs] commit: horde/lib MIME.php Text.php

Didi Rieder adrieder at sbox.tugraz.at
Sun Feb 23 12:41:37 PST 2003


Quoting Didi Rieder <adrieder at sbox.tugraz.at>:

> This introduced a problem with spam-reporting:
> 
> [Sun Feb 23 11:58:15 2003] [error] PHP Fatal error:  Undefined class name
> 'text'
> in /usr/local/apache/htdocs/horde/lib/MIME.php on line 698

Here is a patch for horde/imp/message.php which solves the problem:

--- message.php Sun Feb 23 12:39:32 2003
+++ message.php.new     Sun Feb 23 12:39:24 2003
@@ -136,6 +136,7 @@
     if (!empty($conf['spam']['email'])) {
         require_once HORDE_BASE . '/lib/MIME/Message.php';
         require_once HORDE_BASE . '/lib/MIME/Part.php';
+        require_once HORDE_BASE . '/lib/Text.php';
         require_once IMP_BASE . '/lib/Compose.php';

         /* Build the MIME structure. */

Didi

-- 
-------------------------
Didi Rieder
adrieder at sbox.tugraz.at
PGPKey ID: 3431D0B0
-------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: PGP Digital Signature
Url : http://lists.horde.org/archives/dev/attachments/20030223/4c7eec18/attachment.bin


More information about the dev mailing list