From 8a1948c48761c41d40d85d9799f3df65416d7305 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 19 Oct 2021 18:23:10 +0800 Subject: [PATCH] * Fix bug #15620. --- module/api/view/index.html.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/module/api/view/index.html.php b/module/api/view/index.html.php index a63fce5607..c3f035238d 100644 --- a/module/api/view/index.html.php +++ b/module/api/view/index.html.php @@ -66,16 +66,10 @@
api->noLib : $lang->api->noApi;?>
' . $lang->api->createApi, '', 'class="btn btn-info btn-wide"'); + echo html::a(helper::createLink('api', 'create', "libID={$libID}"), ' ' . $lang->api->createApi, '', 'class="btn btn-info btn-wide"'); } - else - { - $html = html::a(helper::createLink('api', 'createLib'), ' ' . $lang->api->createLib, '', 'class="btn btn-info btn-wide iframe"'); - } - echo $html; ?>