[Vtigercrm-developers] Bug in sendNotificationToGroups function in CommonUtils.php

Xavier Mones xmm at c3po.es
Mon Nov 8 00:33:00 PST 2010


the is a bug in the sendNotificationToGroups function in 
include\utils\CommonUtils.php that makes that the send_mail function 
does not find the attachments for the notification email.

It applies in 5.1.0 and 5.2.0.

Solution is to change this line:

                    $mail_status = 
created-vTiger Team',$description,'','','all',$focus->id);

for this one:

                    $mail_status = 
created-vTiger Team',$description,'','','all',$crmid);


*C3PO S.A.*
*Xavier Monés*
*Tel:* +34 934.179.955
*Fax:* +34 932.531.280
Alejandro Goicoechea 6 · Local 9 · 08960 Sant Just Desvern (Spain)
xmm at c3po.es <mailto:xmm at c3po.es> · www.c3po.es <http://www.c3po.es> 
www.c3po.eu <http://www.c3po.eu> www.c3po.cat <http://www.c3po.cat>
La información contenida en este mensaje y los archivos adjuntos son 
confidenciales. Si usted recibe este mensaje por error debe destruirlo 
sin copiarlo ni comunicarlo e informar inmediatamente por correo 
electrónico al emisor del mensaje. Cualquier comunicación, copia, 
distribución u otro uso de esta información no autorizado expresamente 
por el emisor del mensaje está prohibido legalmente.
The information contained in this message and its attachments are 
confidential. If you have received this message by mistake, you must 
delete it without making any copy and communication. Furthermore, you 
have to immediately inform by e-mail about this incident to the sender. 
Any disclosure, reproduction, distribution or other of this information 
without the express permission of the sender it is legally prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20101108/01e21702/attachment-0002.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pie.gif
Type: image/gif
Size: 47898 bytes
Desc: not available
Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20101108/01e21702/attachment-0002.gif 

More information about the vtigercrm-developers mailing list