Merge pull request #18838 from MauricioFauth/fix/table-relation-column-empty-hash
Fix case where column hash is empty in table relation page
This commit is contained in:
commit
5bf6257129
@ -134,12 +134,12 @@ final class RelationController extends AbstractController
|
||||
$column_hash_array = [];
|
||||
$column_array[''] = '';
|
||||
foreach ($columns as $column) {
|
||||
$column_hash_array[$column['Field']] = md5($column['Field']);
|
||||
if (strtoupper($storageEngine) !== 'INNODB' && empty($column['Key'])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$column_array[$column['Field']] = $column['Field'];
|
||||
$column_hash_array[$column['Field']] = md5($column['Field']);
|
||||
}
|
||||
|
||||
if ($GLOBALS['cfg']['NaturalOrder']) {
|
||||
|
||||
@ -195,6 +195,11 @@ parameters:
|
||||
count: 1
|
||||
path: libraries/classes/Config.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$new_error_level of function error_reporting expects int, int\\|null given\\.$#"
|
||||
count: 1
|
||||
path: libraries/classes/Config.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$str of function rtrim expects string, mixed given\\.$#"
|
||||
count: 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user