Merged in bugfix/PMCORE-1682 (pull request #7394)

PMCORE-1682

Approved-by: Rodrigo Quelca <rockoinfo@yahoo.com>
This commit is contained in:
Fabio Guachalla
2020-06-23 20:10:25 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -1178,9 +1178,7 @@ class DynaForm
}
foreach ($oldColumns as $oldColumn) {
if (strtolower(AdditionalTables::getPHPName($column->id)) === strtolower(AdditionalTables::getPHPName($oldColumn->id))) {
if (strtolower(AdditionalTables::getPHPName($column->var_name)) === strtolower(AdditionalTables::getPHPName($oldColumn->var_name))) {
$identicals[] = "'" . $column->id . "' - '" . $oldColumn->id . "'";
}
$identicals[] = "'" . $column->id . "' - '" . $oldColumn->id . "'";
}
}
}