array offset type null php8.1
Trying to access array offset on value of type null
This commit is contained in:
parent
d632d51dd6
commit
2dcd14b7f7
1 changed files with 2 additions and 2 deletions
|
@ -1163,8 +1163,8 @@ $gpustmp4 = &$gpAdmin['gpui_vis'];
|
|||
}
|
||||
|
||||
$display = '<span class="layout_color_id" ' .
|
||||
'style="background-color:' . $info['color'] . ';"></span>' .
|
||||
' ' . $info['label'];
|
||||
'style="background-color:' . (isset($info['color']) ? $info['color'] : 0) . ';"></span>' .
|
||||
' ' . (isset($info['label']) ? $info['label'] : 0);
|
||||
echo \gp\tool::Link(
|
||||
'Admin_Theme_Content/Edit/' . rawurlencode($layout),
|
||||
$display
|
||||
|
|
Loading…
Reference in a new issue