From bd259de8caaf3e64e38861dae655335f8d2e9b9e Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Mon, 20 Jun 2022 16:54:25 +0800 Subject: [PATCH] * Fix bug . --- module/common/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/common/model.php b/module/common/model.php index e2a5804e90..618cb64a3a 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -1474,7 +1474,7 @@ class commonModel extends model } $params = sprintf($vars, $orderBy); - if($app->getModuleName() == 'my') $params = "mode={$app->getMethodName()}&" .sprintf($vars, $orderBy); + if($app->getModuleName() == 'my' and $app->rawMethod == 'work') $params = "mode={$app->getMethodName()}&" .sprintf($vars, $orderBy); $link = helper::createLink($module, $method, $params); echo $isMobile ? html::a($link, $label, '', "class='$className' data-app={$app->tab}") : html::a($link, $label, '', "class='$className' data-app={$app->tab}");