From c9ae3314038be0d82b6b65c07b297f9abff3ef8b Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Wed, 14 Apr 2021 09:37:43 +0800 Subject: [PATCH] * Fix bug #11495. --- module/extension/control.php | 2 +- module/extension/css/obtain.css | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/module/extension/control.php b/module/extension/control.php index 3d7e51b94e..f88933e476 100644 --- a/module/extension/control.php +++ b/module/extension/control.php @@ -89,7 +89,7 @@ class extension extends control { /* Init vars. */ $type = strtolower($type); - $moduleID = $type == 'bymodule' ? (int)$param : 0; + $moduleID = $type == 'bymodule' ? (int)base64_decode($param) : 0; $extensions = array(); $pager = null; diff --git a/module/extension/css/obtain.css b/module/extension/css/obtain.css index 43cfa0743a..00a2b3495f 100644 --- a/module/extension/css/obtain.css +++ b/module/extension/css/obtain.css @@ -1 +1,3 @@ .pager {margin-top: 0;} +.tree li>a:hover {color: #fff; background-color: #0c64eb;} +.tree li>a.active {color: #fff; background-color: #0c64eb;}