[Vtigercrm-commits] [Vtiger development] #7501: Error breaking up text line in email

Vtiger development vtiger-tickets at trac.vtiger.com
Tue Aug 19 09:37:05 GMT 2014


#7501: Error breaking up text line in email
------------------------+---------------------
 Reporter:  joebordes   |       Owner:  uma
     Type:  defect      |      Status:  closed
 Priority:  unassigned  |   Milestone:  6.0.0
Component:  vtigercrm   |     Version:  5.4.0
 Severity:  Medium      |  Resolution:  fixed
 Keywords:              |
------------------------+---------------------
Changes (by prasad):

 * status:  new => closed
 * resolution:   => fixed


Old description:

> In modules/Emails/class.smtp.php (At line 348):
>
> $line = substr($line,$pos + 1);
>
> adding 1 is logical mistake in this case. It is removing first letter in
> a long lines like image base64 sources. It should be:
>
> $line = substr($line,$pos);
>
> https://forums.vtiger.com/viewtopic.php?f=139&t=54503

New description:

 In modules/Emails/class.smtp.php (At line 348):

 $line = substr($line,$pos + 1);

 adding 1 is logical mistake in this case. It is removing first letter in a
 long lines like image base64 sources. It should be:

 $line = substr($line,$pos);

 https://forums.vtiger.com/viewtopic.php?f=139&t=54503

--

--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7501#comment:5>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM


More information about the vtigercrm-commits mailing list