[Vtigercrm-commits] [vtiger-commits] r6299 - /vtigercrm/trunk/modules/Webmails/Save.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon May 22 21:07:08 EDT 2006
Author: mmbrich
Date: Mon May 22 19:07:07 2006
New Revision: 6299
Log:
replace special characters with _ so you dont have to urlencode/decode it
Modified:
vtigercrm/trunk/modules/Webmails/Save.php
Modified: vtigercrm/trunk/modules/Webmails/Save.php
==============================================================================
--- vtigercrm/trunk/modules/Webmails/Save.php (original)
+++ vtigercrm/trunk/modules/Webmails/Save.php Mon May 22 19:07:07 2006
@@ -94,7 +94,7 @@
$current_id = $adb->getUniqueID("crmentity");
$date_var = date('YmdHis');
- $filename = $attachments[$i]["filename"];
+ $filename = $PhoneCall = ereg_replace("[ ()-]+", "_",$attachments[$i]["filename"]);
$filetype= substr($filename,strstr($filename,"."),strlen($filename));
$filesize = $attachments[$i]["filesize"];
More information about the vtigercrm-commits
mailing list