From 0d64a2f00d08812c765d091f3e8a117a78b4b1e0 Mon Sep 17 00:00:00 2001 From: Jay Trees Date: Fri, 4 Mar 2022 10:16:44 +0100 Subject: [PATCH] Fix undefined index --- src/classes/page.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/classes/page.php b/src/classes/page.php index dcbfd2be..554bee74 100644 --- a/src/classes/page.php +++ b/src/classes/page.php @@ -323,11 +323,9 @@ class Page if ($options->updateAvailable && $user && 100 === $user->power) { $pages['system']['items'][] = array( - array( - 'url' => '/?page=update', - 'text' => 'Update', - 'icon' => 'upload', - ), + 'url' => '/?page=update', + 'text' => 'Update', + 'icon' => 'upload', ); } ?>