HOR-4383 Import Pmtable in a new workspace
- Change type validation in load additional table by name.
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
parent
7384d2ef26
commit
c414dfef7d
@@ -253,7 +253,7 @@ class Table
|
||||
|
||||
// validations
|
||||
if ($createRep) {
|
||||
if (is_array( $oAdditionalTables->loadByName( $tableName ) )) {
|
||||
if ($oAdditionalTables->loadByName($tableName)) {
|
||||
throw new \Exception(G::loadTranslation('ID_PMTABLE_ALREADY_EXISTS', array($tableName)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user