[Vtigercrm-commits] [vtiger-commits] r10904 - /vtigercrm/branches/5.0.3/modules/Webmails/Webmails.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon May 14 04:28:42 EDT 2007
Author: richie
Date: Mon May 14 02:28:33 2007
New Revision: 10904
Log:
* suppressed the error message when imap not configured, Fixed #3714
Modified:
vtigercrm/branches/5.0.3/modules/Webmails/Webmails.php
Modified: vtigercrm/branches/5.0.3/modules/Webmails/Webmails.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Webmails/Webmails.php (original)
+++ vtigercrm/branches/5.0.3/modules/Webmails/Webmails.php Mon May 14 02:28:33 2007
@@ -711,7 +711,7 @@
{
// parse the message
$ref_contenu_message = imap_headerinfo($this->mbox, $this->mailid);
- $struct_msg = imap_fetchstructure($this->mbox, $this->mailid);
+ $struct_msg = @imap_fetchstructure($this->mbox, $this->mailid);
$mail = $this->mbox;
$ev = $this->mailid;
$conf->display_rfc822 = true;
@@ -802,7 +802,7 @@
$link_att = '<span id="webmail_cont" style="display:none;"><tr><th class="mailHeaderLabel right"></th><td class="mailHeaderData"></td></tr></span>';
}
- $struct_msg = imap_fetchstructure($mail, $ev);
+ $struct_msg = @imap_fetchstructure($mail, $ev);
$msg_charset = '';
if ($struct_msg->ifparameters) {
while ($obj = array_pop($struct_msg->parameters)) {
More information about the vtigercrm-commits
mailing list