[Vtigercrm-commits] [vtiger-commits] r10269 - /vtigercrm/branches/5.0.3/modules/Users/CreateUserPrivilegeFile.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Feb 28 05:43:52 EST 2007
Author: saraj
Date: Wed Feb 28 03:43:47 2007
New Revision: 10269
Log:
Quotes on user signature break the system - fixed. Fixes #3086
Modified:
vtigercrm/branches/5.0.3/modules/Users/CreateUserPrivilegeFile.php
Modified: vtigercrm/branches/5.0.3/modules/Users/CreateUserPrivilegeFile.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Users/CreateUserPrivilegeFile.php (original)
+++ vtigercrm/branches/5.0.3/modules/Users/CreateUserPrivilegeFile.php Wed Feb 28 03:43:47 2007
@@ -1359,7 +1359,9 @@
$code = 'array(';
foreach ($var as $key => $value)
{
- if($i<$size)
+ //fix for signatue quote(') issue
+ $value=addslashes($value);
+ if($i<$size)
{
$code .= "'".$key."'=>'".$value."',";
}
More information about the vtigercrm-commits
mailing list