From b7a90bad2ca97a3b8db4403f529894ac75e4dd91 Mon Sep 17 00:00:00 2001 From: chrisdavenport Date: Thu, 29 Dec 2016 23:48:23 +0000 Subject: [PATCH] Add link as separate entry in array --- src/plugins/system/weblinks/weblinks.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/plugins/system/weblinks/weblinks.php b/src/plugins/system/weblinks/weblinks.php index c6c10eb..1311d6a 100644 --- a/src/plugins/system/weblinks/weblinks.php +++ b/src/plugins/system/weblinks/weblinks.php @@ -54,13 +54,11 @@ class PlgSystemWeblinks extends JPlugin return array(); } - // Link to web links component page. - $adminLink = JUri::root() . 'administrator/index.php?option=com_weblinks&view=weblinks&filter[published]=1'; - return array(array( - 'title' => JText::sprintf('PLG_SYSTEM_WEBLINKS_STATISTICS', $adminLink), + 'title' => JText::sprintf('PLG_SYSTEM_WEBLINKS_STATISTICS'), 'icon' => 'out-2', 'data' => $links, + 'link' => JUri::root() . 'administrator/index.php?option=com_weblinks&view=weblinks&filter[published]=1', )); } }