Array sizes are inconsistent

ExecInfo() Fatal Error: Array sizes are inconsistent php5.5+
This commit is contained in:
gtbu 2022-05-04 11:30:46 +02:00
parent 3574aaf10a
commit 8de885b111

View file

@ -455,8 +455,8 @@ class Addons extends \gp\admin\Addon\Install{
foreach($show as $key => $row){
$names[$key] = $row['name'];
}
// PHP 5.5+: $names = array_column($show, 'name');
array_multisort($names, SORT_ASC, $show);
$names = array_column($show, 'name');
// array_multisort($names, SORT_ASC, $show); ::: // ExecInfo() Fatal Error: Array sizes are inconsistent
foreach($show as $addon_key => $info){
$this->PluginPanelGroup($addon_key,$info);