N°1420 - Fix index generation

SVN:2.4[5842]
This commit is contained in:
Eric Espié
2018-06-08 13:01:45 +00:00
parent 3480d478b0
commit 8cb584abdd

View File

@@ -3911,7 +3911,7 @@ abstract class MetaModel
foreach (self::DBGetIndexes($sClass) as $aColumns)
{
$sIndexId = implode('_', $aColumns);
if (isset($aTableInfo['Indexes'][$sIndexId]) && $aTableInfo['Indexes'][$sIndexId]['used'])
if (isset($aTableInfo['Indexes'][$sIndexId]['used']) && $aTableInfo['Indexes'][$sIndexId]['used'])
{
continue;
}