[Vtigercrm-commits] [vtiger-commits] r10932 - /vtigercrm/branches/5.0.3/modules/Users/RoleDragDrop.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue May 15 10:12:32 EDT 2007


Author: richie
Date: Tue May 15 08:12:27 2007
New Revision: 10932

Log:
* Fixed the issue in role drag and drop if role id is like H1 and H12, etc., Fixed #3815

Modified:
    vtigercrm/branches/5.0.3/modules/Users/RoleDragDrop.php

Modified: vtigercrm/branches/5.0.3/modules/Users/RoleDragDrop.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Users/RoleDragDrop.php (original)
+++ vtigercrm/branches/5.0.3/modules/Users/RoleDragDrop.php Tue May 15 08:12:27 2007
@@ -46,7 +46,7 @@
 //Constructing the query
 foreach($roleInfo as $mvRoleId=>$mvRoleInfo)
 {
-	$subPar=explode($replaceToString,$mvRoleInfo[1]);
+	$subPar=explode($replaceToString,$mvRoleInfo[1],2);//we have to spilit as two elements only
 	$mvParString=$replace_with.$subPar[1];
 	$subDepth=$mvRoleInfo[2];
 	$mvDepth=$orgDepth+(($subDepth-$stdDepth)+1);





More information about the vtigercrm-commits mailing list