From 65010ebc10773ed5b6d376a3e524ca6508863862 Mon Sep 17 00:00:00 2001 From: ozhozh Date: Sat, 17 Sep 2011 10:19:51 +0000 Subject: [PATCH] Init var to avoid warning when empty git-svn-id: http://yourls.googlecode.com/svn/trunk@694 12232710-3e20-11de-b438-597f59cd7555 --- includes/functions-html.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/functions-html.php b/includes/functions-html.php index 7e862d9..eebd1a1 100644 --- a/includes/functions-html.php +++ b/includes/functions-html.php @@ -530,6 +530,9 @@ function yourls_html_menu() { $logout_link = yourls_apply_filter( 'logout_link', 'Hello ' . YOURLS_USER . ' (Logout)' ); $help_link = yourls_apply_filter( 'help_link', 'Help' ); + $admin_links = array(); + $admin_sublinks = array(); + $admin_links['admin'] = array( 'url' => yourls_admin_url('index.php'), 'title' => 'Go to the admin interface', -- 2.45.0