undefined array key
?? null (null coalesce operator:) undefined array key
This commit is contained in:
parent
8de885b111
commit
a250ce1874
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ class Addons extends \gp\admin\Addon\Install{
|
|||
// sort installed addons by name
|
||||
$names = [];
|
||||
foreach($show as $key => $row){
|
||||
$names[$key] = $row['name'];
|
||||
$names[$key] = $row['name'] ?? null;
|
||||
}
|
||||
$names = array_column($show, 'name');
|
||||
// array_multisort($names, SORT_ASC, $show); ::: // ExecInfo() Fatal Error: Array sizes are inconsistent
|
||||
|
|
Loading…
Reference in a new issue