From 84cafc4e5ea542e824355b8db19f578c68122f6a Mon Sep 17 00:00:00 2001 From: pica33 Date: Tue, 8 Jan 2019 14:21:41 +0000 Subject: [PATCH] fix bottom link not shown on testlink v1.9.18 --- TestCaseImporter/TestCaseImporter.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/TestCaseImporter/TestCaseImporter.php b/TestCaseImporter/TestCaseImporter.php index 7125623..1fb6b67 100644 --- a/TestCaseImporter/TestCaseImporter.php +++ b/TestCaseImporter/TestCaseImporter.php @@ -78,6 +78,8 @@ function hooks() */ function import_link() { - return "".plugin_lang_get('left_bottom_link').""; + $menu_item['href'] = plugin_page('import.php'); + $menu_item['label'] = plugin_lang_get('left_bottom_link'); + return $menu_item; } -} \ No newline at end of file +}