Hi,

I've recently set up squirrelmail 1.4.5 on a FreeBSD 5.2 system with PHP5.0.

The MTA is Exim running courrier IMAP v1.33

All works well but occasionally I will receive an 
e-mail that throws an error message instead of the 
content of the e-mail.  The error is:

Fatal error: Only variables can be passed by 
reference in /usr/local/install/squirrelmail-1.4.5/class/
mime/Rfc822Header.class.php on line 509


The line corresponds to the Parse Priority function:

function parsePriority($value) {
        $value = strtolower(array_shift(split('/\w/',trim($value))));
        if ( is_numeric($value) ) {
            return $value;
        }
        if ( $value == 'urgent' || $value == 'high' ) {
            return 1; 
        } elseif ( $value == 'non-urgent' || $value == 'low' ) {
            return 5;
        }
        // default is normal priority
        return 3; 
    }


Has anyone else seen this error?  
I couldn't find any patches or references.

Thanks in advance for any help

tim



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to