Fix undefined index

This commit is contained in:
Jay Trees 2022-03-04 10:16:44 +01:00
parent 05a2d2961a
commit 0d64a2f00d

View file

@ -323,11 +323,9 @@ class Page
if ($options->updateAvailable && $user && 100 === $user->power) { if ($options->updateAvailable && $user && 100 === $user->power) {
$pages['system']['items'][] = array( $pages['system']['items'][] = array(
array(
'url' => '/?page=update', 'url' => '/?page=update',
'text' => 'Update', 'text' => 'Update',
'icon' => 'upload', 'icon' => 'upload',
),
); );
} }
?> ?>