<div dir="ltr">Hi,<div><br></div><div>Thanks! for the the notification, it's good if can create a trac ticket we will get this fixed in source soon.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 23, 2015 at 5:01 PM, Pablo Mazza <span dir="ltr"><<a href="mailto:pablo.mazza@gmail.com" target="_blank">pablo.mazza@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I found a bug that is causing the function writeReportToCSVFile($fileName) to crash when trying to create the temporary file for the scheduled report.<br></div><div><br></div><div>The filename used has invalid (:) characters for the Windows filesystem and therefore fopen(+w) fails.</div><div><br></div><div>The problem lies in the function Sendmail() in ScheduledReports.php where the name of the file is generated, appending the timestamp to the report name in this format:</div><div><br></div><div><div>$currentTime = date('Y-m-d:H:i:s'); </div><div><br></div><div>This can be easily fixed by changing the : for other character like this:</div><div><br></div><div>$currentTime = date('Y-m-d.H.i.s'); </div><div><br></div><div>I tested the fix and works well now.</div><div><br></div><div>Let me know if you want me to report it on <a href="http://track.vtiger.com" target="_blank">track.vtiger.com</a></div><div><br></div><div>Thank you</div><span class="HOEnZb"><font color="#888888"><div>PM</div><div>        </div></font></span></div><div><br></div></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>
</div>