From f2573bf04419ec669d0557dc7d7c2c805df795a4 Mon Sep 17 00:00:00 2001 From: daitingting Date: Tue, 9 Jan 2024 02:50:48 +0000 Subject: [PATCH] * The default URL is not the first one in backs, but the first one that can be matched in backs in the path record of the page opened by the user. --- lib/zin/wg/backbtn/v1.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/zin/wg/backbtn/v1.php b/lib/zin/wg/backbtn/v1.php index 7e908f5bc3..19595e6a0d 100644 --- a/lib/zin/wg/backbtn/v1.php +++ b/lib/zin/wg/backbtn/v1.php @@ -77,12 +77,6 @@ class backBtn extends btn elseif(isset($backs[$app->rawModule])) { $props['data-back'] = $backs[$app->rawModule]; - - if(!$this->prop('url')) - { - $backLinks = explode(',', $backs[$app->rawModule]); - $props['data-url'] = $backLinks[0]; - } } else {