PMCORE-1682:Rollback PMCORE-506 (Permit same ID Name on Grids)

This commit is contained in:
Fabio Guachalla
2020-06-18 15:39:22 -04:00
parent 58b2644f91
commit 6fa97ca655

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 . "'";
}
}
}