Skip to content
Snippets Groups Projects
Commit 475adb6b authored by Uma's avatar Uma
Browse files

Fixes #1630 Migration issue to update userlabel fixed

parent 2d112717
No related branches found
No related tags found
1 merge request!831Fixes #1630 Migration issue to update userlabel fixed
...@@ -38,7 +38,7 @@ if (defined('VTIGER_UPGRADE')) { ...@@ -38,7 +38,7 @@ if (defined('VTIGER_UPGRADE')) {
$entityFields = Vtiger_Functions::getEntityModuleInfo($moduleName); $entityFields = Vtiger_Functions::getEntityModuleInfo($moduleName);
$entityFieldNames = explode(',', $entityFields['fieldname']); $entityFieldNames = explode(',', $entityFields['fieldname']);
$sql = "UPDATE vtiger_users SET $fieldName = TRIM(CONCAT(".implode(' ', $entityFieldNames)."))"; $sql = "UPDATE vtiger_users SET $fieldName = TRIM(CONCAT_WS(' ',".implode(',', $entityFieldNames)."))";
$db->pquery($sql, array()); $db->pquery($sql, array());
Vtiger_Access::syncSharingAccess(); Vtiger_Access::syncSharingAccess();
......
...@@ -10,4 +10,4 @@ ...@@ -10,4 +10,4 @@
//7.3_to_7.4.0 (to overcome 730 package glitch, where DB version set to 7.3 instead 7.3.0) //7.3_to_7.4.0 (to overcome 730 package glitch, where DB version set to 7.3 instead 7.3.0)
include_once dirname(__FILE__)."730_to_740.php"; include_once dirname(__FILE__)."/730_to_740.php";
\ No newline at end of file \ No newline at end of file
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* All Rights Reserved. * All Rights Reserved.
************************************************************************************/ ************************************************************************************/
$patch_version = '20210721'; // -ve timestamp before release, +ve timestamp after release. $patch_version = '20210723'; // -ve timestamp before release, +ve timestamp after release.
$modified_database = ''; $modified_database = '';
$vtiger_current_version = '7.4.0'; $vtiger_current_version = '7.4.0';
$_SESSION['vtiger_version'] = $vtiger_current_version; $_SESSION['vtiger_version'] = $vtiger_current_version;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment