Fix undefined index
This commit is contained in:
parent
05a2d2961a
commit
0d64a2f00d
1 changed files with 3 additions and 5 deletions
|
@ -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',
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue