N°3173 - Installation issue with PHP 7.4 (fix php notice)

This commit is contained in:
Eric
2020-07-16 17:23:21 +02:00
parent c03d32b423
commit 72cb3de50d

View File

@@ -5589,7 +5589,7 @@ abstract class MetaModel
{
$sIndexName = $sField;
$sColumns = '`'.$sField.'`';
if (!is_null($aLength[0]))
if (isset($aLength[0]))
{
$sColumns .= ' ('.$aLength[0].')';
}