From a1cda98a922a4241c4816ea1eff7fffc2bb4ee6b Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Wed, 30 Jun 2021 16:31:36 +0800 Subject: [PATCH] * Adjust code. --- module/action/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/action/model.php b/module/action/model.php index b22f13f228..66b648554e 100755 --- a/module/action/model.php +++ b/module/action/model.php @@ -1068,7 +1068,7 @@ class actionModel extends model { $method = strpos($action->action, 'practice') ? 'practiceView' : 'componentView'; } - else + elseif($action->objectType != 'doc') { $method = $this->config->action->assetViewMethod[$action->objectType]; }